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