about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-30 09:36:26 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-22 15:15:28 -0800
commit530909f2d8595447ef95e15326549ab7a51874e7 (patch)
tree70a99eb7fbfecc8893586827bb15c3f3c75237e7 /src/rustllvm/RustWrapper.cpp
parentfce792249e72a181f2ad52413b25b1db643c371f (diff)
downloadrust-530909f2d8595447ef95e15326549ab7a51874e7.tar.gz
rust-530909f2d8595447ef95e15326549ab7a51874e7.zip
Implement std::rt::at_exit
This routine is currently only used to clean up the timer helper thread in the
libnative implementation, but there are possibly other uses for this.

The documentation is clear that the procedures are *not* run with any task
context and hence have very little available to them. I also opted to disallow
at_exit inside of at_exit and just abort the process at that point.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions