Subject | Hash | Author | Date (UTC) |
---|---|---|---|
fix tests | 343e081bf929c31592f835b279e5e4cd2c149539 | mucbuc | 2020-01-16 12:37:58 |
strip interface | 991fc85aa55fc6f1d08fe94673840c14f2087ea8 | mucbuc | 2020-01-16 05:44:55 |
*break* circuit poc | 26840f5e3ecca09bc113cb42fff5275c9213e0ae | mucbuc | 2020-01-14 11:32:23 |
add circuit | 0cc2be277c7c0bdd4026e056292cc2d6f4150195 | mucbuc | 2020-01-14 11:30:23 |
formating | d0c058639d2aec3f3e8f94da64e03e316d1c0914 | mucbuc | 2020-01-14 11:04:33 |
documentation | f9e40f305cb18e274187ca4a6d5337d074d1ff30 | mucbuc | 2020-01-12 15:38:09 |
fixed test | ea8fe3cc68d22f66233227333ca7e5e5ba5bf61b | Ubuntu | 2020-01-05 10:03:01 |
fix test | 3000b9771071dad410993acf8a3fca2cae11c47b | Ubuntu | 2019-12-29 14:41:59 |
cleanup/ / /\ \\ | 2318e095c0bc6cbc7831c56c0d60b7895534af37 | mucbuc | 2019-12-25 01:04:28 |
test for dead object removal | 293a4ecb0c1b37e3f6de4c382c544f858e591b5d | Ubuntu | 2019-12-24 12:22:51 |
listener type | 17dbf951b9f1c9d5597eec229bbb1493b7b7f9c0 | Ubuntu | 2019-12-24 11:50:57 |
impl folder | 40a4b7b8898954a4c23ccbaa89e6f8b153a7aa7f | Ubuntu | 2019-12-24 07:28:25 |
formating | 8a22c8b92ed52f7bc93856da8a724152e28d0a42 | Ubuntu | 2019-12-24 06:48:42 |
cleanup | 30d1d919695bd75eefaf87fc946b94de78a67d60 | Ubuntu | 2019-12-24 06:46:23 |
dynamofwd | 5b9c10a5c20ed27bccd2799f1695840aebb1d671 | mucbuc | 2019-12-24 02:33:38 |
cleanup | 749066255127ffde23d8fda529764687252a29c3 | Ubuntu | 2019-12-23 13:46:37 |
more cleanup | 828ab3c6685b28185f5cf300a8fb00c6d5e2427a | Ubuntu | 2019-12-23 05:53:18 |
cleanup | d4a0e241f80849385bca4323ce28a38788bd03aa | Ubuntu | 2019-12-23 05:49:59 |
abstraction complete | 210e60e6a600a1a1565a5eba52c9cceb7fc2d108 | Ubuntu | 2019-12-23 05:48:13 |
batch is now abstract | 681a77dad6a0af7d2b053bdb1f24eda94158828d | Ubuntu | 2019-12-23 04:23:05 |
File | Lines added | Lines deleted |
---|---|---|
src/impl/batch.hxx | 2 | 1 |
test/lib/circuit/src/impl/queue.h | 1 | 1 |
test/lib/circuit/test/src/main.cpp | 4 | 0 |
File src/impl/batch.hxx changed (mode: 100644) (index 2538869..47efb89) | |||
... | ... | namespace control { | |
13 | 13 | template <typename... T> | template <typename... T> |
14 | 14 | void BatchImpl<T...>::invoke(T... arg) | void BatchImpl<T...>::invoke(T... arg) |
15 | 15 | { | { |
16 | batch_type traverse { std::move(elements()) }; | ||
16 | batch_type traverse; | ||
17 | traverse.swap( elements() ); | ||
17 | 18 | pointer_type agent; | pointer_type agent; |
18 | 19 | while (traverse.check_pop(agent)) | while (traverse.check_pop(agent)) |
19 | 20 | { | { |
File test/lib/circuit/src/impl/queue.h changed (mode: 100644) (index d06dac5..d9908fe) | |||
... | ... | namespace twice_size { | |
22 | 22 | { | { |
23 | 23 | ASSERT(lhs.is_locked()); | ASSERT(lhs.is_locked()); |
24 | 24 | ASSERT(rhs.is_locked()); | ASSERT(rhs.is_locked()); |
25 | lhs.m_queue.swap(rhs); | ||
25 | lhs.m_queue.swap(rhs.m_queue); | ||
26 | 26 | } | } |
27 | 27 | ||
28 | 28 | template <class U> | template <class U> |
File test/lib/circuit/test/src/main.cpp changed (mode: 100644) (index 78bd44c..e3c6a87) | |||
... | ... | int main() | |
25 | 25 | test_wait_pop(std::make_shared<CircuitStack<int>>()); | test_wait_pop(std::make_shared<CircuitStack<int>>()); |
26 | 26 | test_wait_pop(std::make_shared<CircuitQueue<int>>()); | test_wait_pop(std::make_shared<CircuitQueue<int>>()); |
27 | 27 | ||
28 | |||
29 | CircuitQueue<int> a, b; | ||
30 | a.swap(b); | ||
31 | |||
28 | 32 | return 0; | return 0; |
29 | 33 | } | } |