Use futex locks on emscripten.
This commit is contained in:
parent
6abdd0b6d4
commit
06a8f05b0c
@ -2,6 +2,7 @@ cfg_if::cfg_if! {
|
||||
if #[cfg(any(
|
||||
target_os = "linux",
|
||||
target_os = "android",
|
||||
all(target_os = "emscripten", target_feature = "atomics"),
|
||||
))] {
|
||||
mod futex;
|
||||
mod futex_rwlock;
|
||||
|
Loading…
x
Reference in New Issue
Block a user