summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2015-09-22 08:40:15 +0200
committerAndrea Canciani <ranma42@gmail.com>2015-09-22 11:02:52 +0200
commitcbfa61282fc34204b9b66554e06189c2d0b4d085 (patch)
treeecb04bd1162bfbab84b33fe7d170f3964bcbd966 /src/libstd/sys/unix/stack_overflow.rs
parentf07f4ef74366f70554cb0f2cef590e76bfd55791 (diff)
downloadrust-cbfa61282fc34204b9b66554e06189c2d0b4d085.tar.gz
rust-cbfa61282fc34204b9b66554e06189c2d0b4d085.zip
Simplify on_panic callback handling
The registration of `panicking::on_panic` as a general-purpose
callback is overcomplicated and can fail.

Instead, invoking it explicitly removes the need for locking and paves
the way for further improvements.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions