mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-03 00:00:05 +02:00
sync: add loom test for mpsc (#903)
This patch updates tokio_sync::mpsc to support using loom for fuzz testing. It includes a basic fuzz test.
This commit is contained in:
@@ -5,6 +5,7 @@ pub(crate) mod futures {
|
||||
|
||||
pub(crate) mod sync {
|
||||
pub(crate) use std::sync::atomic;
|
||||
pub(crate) use std::sync::Arc;
|
||||
|
||||
use std::cell::UnsafeCell;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user