21 Commits

Author SHA1 Message Date
Georg Brandl
1028563155 add the HistoryBuffer type 2020-01-07 08:14:52 +01:00
Jorge Aparicio
2274a56f02 move cfail tests into their own Cargo project 2019-12-17 16:25:41 +01:00
Jorge Aparicio
906b0679ca port compile fail tests to trybuild
closes #127
2019-12-17 14:11:09 +01:00
Jorge Aparicio
94db64d8a6 add multiple-producer multiple-consumer lock-free queue 2019-05-22 18:58:58 +02:00
Jorge Aparicio
fc4054571f drop const-fn feature; provide const constructors on near stable (1.36) 2019-05-06 17:13:15 +02:00
Jorge Aparicio
f83329cbf4 rename RingBuffer to spsc::Queue 2018-10-19 19:28:57 +02:00
Felix Stegmaier
40133fea0f Merge remote-tracking branch 'origin/master' into const-fn-feature 2018-07-13 11:25:56 +02:00
Reece Stevens
84ce6ec159 Perform same len fix for iterators 2018-06-19 23:29:14 -05:00
Reece Stevens
0172082262 Fix len miscalculation when head > tail 2018-06-19 23:21:14 -05:00
Felix Stegmaier
e48b15474d Update docs and tests 2018-05-21 13:18:28 +02:00
Felix Stegmaier
479c74d9e5 Fix static variables in tests 2018-05-19 18:32:47 +02:00
Felix Stegmaier
512ce719ed Fix missing_docs in const_fn macro 2018-05-19 12:25:30 +02:00
Jorge Aparicio
c1892739f7 drop untagged-option dependency, and depend on generic-array 2018-04-22 00:41:13 +02:00
Jorge Aparicio
2fdb766d27 add Consumer.dequeue_unchecked and Producer.enqueue_unchecked 2018-04-20 03:40:32 +02:00
Jorge Aparicio
534aad044c cargo fmt 2018-03-01 20:30:50 +01:00
Vadzim Dambrouski
e5e24f0844 What if tsan is right? 2017-11-09 22:04:17 +03:00
Jorge Aparicio
40994962e2 add contention test 2017-11-09 15:33:54 +01:00
Jorge Aparicio
30ea33c349 relax the lifetime constraint of RingBuffer.split
also

- add a "`split` freezes the ring buffer" compile fail test
- hide compile-fail doc tests
- add scoped threads tests
2017-11-09 02:27:01 +01:00
Jorge Aparicio
731e8ae150 rewrite the test for less unsafety 2017-11-09 02:09:38 +01:00
Jorge Aparicio
9533e27f44 test two consecutive operations 2017-11-08 22:51:55 +01:00
Jorge Aparicio
4a6bf95f19 add tsan test 2017-10-31 21:30:43 +01:00