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:
Carl Lerche
2019-02-20 10:05:56 -08:00
committed by GitHub
parent f513558076
commit 3d787b16c7
6 changed files with 104 additions and 54 deletions
+1
View File
@@ -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;