]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys_common/mutex.rs
SGX target: implement synchronization primitives and threading
[rust.git] / src / libstd / sys_common / mutex.rs
index c6d531c7a1ac59cbb3b641ea96fc645a3b2f6d2d..87684237638987c805f1c3f7e7baf678a319376c 100644 (file)
@@ -27,6 +27,7 @@ impl Mutex {
     /// Also, until `init` is called, behavior is undefined if this
     /// mutex is ever used reentrantly, i.e., `raw_lock` or `try_lock`
     /// are called by the thread currently holding the lock.
+    #[unstable(feature = "sys_internals", issue = "0")] // FIXME: min_const_fn
     pub const fn new() -> Mutex { Mutex(imp::Mutex::new()) }
 
     /// Prepare the mutex for use.