23 Commits

Author SHA1 Message Date
Tyler Holmes
bc9e208089 differentiate full vs CAS polyfill 2022-01-17 11:32:13 -08:00
Tyler Holmes
a469645439 fix documentation 2022-01-17 11:31:40 -08:00
Tyler Holmes
63c0370d69 add riscv cas atomic support and cleanup the #cfg's for it 2022-01-17 11:31:40 -08:00
chemicstry
bd3cbaba61 Fix MPMC size asserts 2021-09-22 17:48:53 +03:00
rise0chen
3264c92292 impl Default 2021-07-28 15:23:21 +08:00
Emil Fresk
295e115542 Preparing v0.7.2 2021-06-30 17:12:36 +02:00
Vinay Chandra Dommeti
ae15c8ab9b
Multi size support 2021-05-07 13:20:34 -07:00
Vinay Chandra Dommeti
e68383be09
Const assert and switch to u8 sizes 2021-05-07 13:01:53 -07:00
Vinay Chandra Dommeti
b5dd0afa4c
USized generic MPMC 2021-05-07 12:39:36 -07:00
Emil Fresk
241085e970 Fixed MPMC panic on wrapping sub 2021-04-22 20:00:30 +02:00
Emil Fresk
bd32ab8383
Merge pull request #198 from japaric/const_generics
Const generics port
2021-04-22 19:07:27 +02:00
Toshio Ito
4e2825972b run cargo fmt. 2021-04-20 16:10:59 +09:00
Toshio Ito
9645a1bd64 mpmc: use i8 to calculate dif
Remove the boundary check introduced by #132
Now it passes full_at_wrapped_pos0.
2021-04-20 08:34:57 +09:00
Toshio Ito
98f9636d88 mpmc: add test full_at_wrapped_pos0.
This goes into infinite loop.
2021-04-20 08:34:57 +09:00
Toshio Ito
68ca3df55a mpmc: test: add more assertions. 2021-04-20 08:34:57 +09:00
Toshio Ito
ec1f4a4601 mpmc: make a test name more specific. 2021-04-20 08:34:57 +09:00
Emil Fresk
2c248a31e9 Fixed so pool and MPMC works on thumbv6 2021-04-04 13:18:49 +02:00
Jorge Aparicio
cb8179a30e run cargo fmt 2019-12-18 12:41:17 +01:00
Jorge Aparicio
44c66a7484 remove spsc / pool / mpmc modules on targets w/o atomic / CAS support
closes #123
2019-12-18 12:01:53 +01:00
Jorge Aparicio
90c90ec418 add test to PR #121 2019-12-17 11:46:46 +01:00
konstantin
baa5e620d4 bugfix in mpmc.dequeue 2019-12-17 11:46:46 +01:00
Jorge Aparicio
d969e5516e add benchmark to spsc::Queue 2019-05-22 21:50:00 +02:00
Jorge Aparicio
94db64d8a6 add multiple-producer multiple-consumer lock-free queue 2019-05-22 18:58:58 +02:00