rust/src/librustrt
Alex Crichton ac7b9ddc54 Audit usage of NativeMutex
Once a native mutex has been used once, it is never allowed to be moved again.
This is because some pthreads implementations take pointers inside the mutex
itself.

This commit adds stern wording around the methods on native mutexes, and fixes
one use case in the codebase. The Mutex type in libsync was susceptible to
movement, so the inner static mutex is now boxed to ensure that the address of
the native mutex is constant.
2014-06-13 13:53:34 -07:00
..
args.rs
at_exit_imp.rs rustrt: Fix invalid reads caught by valgrind 2014-06-09 20:57:55 -07:00
bookkeeping.rs
c_str.rs core: Rename container mod to collections. Closes #12543 2014-06-08 21:29:57 -07:00
exclusive.rs
lib.rs sync: Move underneath libstd 2014-06-11 10:00:43 -07:00
libunwind.rs
local_data.rs rustc: Remove ~[T] from the language 2014-06-11 15:02:17 -07:00
local_heap.rs
local_ptr.rs
local.rs
macros.rs
mutex.rs Audit usage of NativeMutex 2014-06-13 13:53:34 -07:00
rtio.rs
stack.rs
task.rs Fix more misspelled comments and strings. 2014-06-10 11:24:17 -04:00
thread_local_storage.rs
thread.rs sync: Move underneath libstd 2014-06-11 10:00:43 -07:00
unwind.rs Audit usage of NativeMutex 2014-06-13 13:53:34 -07:00
util.rs