rust/src/libnative/io
Alex Crichton e6acff8287 native: Fix usage of a deallocated mutex
When the timer_helper thread exited, it would attempt to re-acquire the global
task count mutex, but the mutex had previously been deallocated, leading to
undefined behavior of the mutex, and in some cases deadlock.

Another mutex is used to coordinate shutting down the timer helper thread.

Closes #12699
2014-03-05 09:11:11 -08:00
..
addrinfo.rs native: be more const correct with the FFI calls. 2014-02-24 01:15:39 +11:00
file_unix.rs native: Stop using readdir() 2014-03-05 09:11:10 -08:00
file_win32.rs rustc: Use libnative for the compiler 2014-02-27 12:03:58 -08:00
mod.rs native: Recognize EISDIR 2014-02-27 12:03:58 -08:00
net.rs native: Improve windows file handling 2014-02-27 12:03:57 -08:00
pipe_unix.rs native: Improve windows file handling 2014-02-27 12:03:57 -08:00
pipe_win32.rs std: Move intrinsics to std::intrinsics. 2014-02-23 01:07:53 -08:00
process.rs std: Avoid using "{:?}" in format strings 2014-02-28 12:24:50 -08:00
timer_helper.rs native: Fix usage of a deallocated mutex 2014-03-05 09:11:11 -08:00
timer_other.rs native: Move from usleep() to nanosleep() 2014-03-05 09:11:10 -08:00
timer_timerfd.rs native: Move from usleep() to nanosleep() 2014-03-05 09:11:10 -08:00
timer_win32.rs Fixing remaining warnings and errors throughout 2014-02-03 10:39:23 -08:00