diff options
author | Michael P. Jung <michael.jung@terreon.de> | 2019-12-18 07:32:12 +0100 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-12-17 22:32:12 -0800 |
commit | 9211adbe01661585cd1831214279262024d04816 (patch) | |
tree | 1ff6d31d91c2a76994ff045a0aeac43e0557ef91 /tokio/src/sync/tests/mod.rs | |
parent | e5b99b0f7a12ca27b390535b8628f87a61a08eb6 (diff) |
sync: add Semaphore (#1973)
Provide an asynchronous Semaphore implementation. This is useful for
synchronizing concurrent access to a shared resource.
Diffstat (limited to 'tokio/src/sync/tests/mod.rs')
-rw-r--r-- | tokio/src/sync/tests/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/sync/tests/mod.rs b/tokio/src/sync/tests/mod.rs index 06d18e9a..0b50cc95 100644 --- a/tokio/src/sync/tests/mod.rs +++ b/tokio/src/sync/tests/mod.rs @@ -1,6 +1,6 @@ cfg_not_loom! { mod atomic_waker; - mod semaphore; + mod semaphore_ll; } cfg_loom! { @@ -8,5 +8,5 @@ cfg_loom! { mod loom_list; mod loom_mpsc; mod loom_oneshot; - mod loom_semaphore; + mod loom_semaphore_ll; } |