about summary refs log tree commit diff
path: root/src/rt/rust_stack.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-27 13:36:54 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-27 14:25:32 -0800
commitb3f77bf92703543793a8073c8319e461e024cb69 (patch)
treef32f999cc958d5c5a9d496025be4d5c31ca1b5ee /src/rt/rust_stack.h
parente4c027446ec0d985be98dcbdce2b80308b88b12a (diff)
downloadrust-b3f77bf92703543793a8073c8319e461e024cb69.tar.gz
rust-b3f77bf92703543793a8073c8319e461e024cb69.zip
rt: Change the way the kernel exits to avoid pthread leaks
This makes the kernel join every scheduler thread before exiting in order to
ensure that all threads are completely terminated before the process exits. On
my machine, for 32-bit targets, this was causing regular valgrind errors.
Diffstat (limited to 'src/rt/rust_stack.h')
0 files changed, 0 insertions, 0 deletions