about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.c
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-05 21:58:55 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-09 12:38:18 -0700
commit8fcf62b6385a5be4ef3a8e1bdb0f01ce907abd26 (patch)
treefd23aa0117a06bc0cf5827b374744abe32506880 /src/rt/jemalloc/test/aligned_alloc.c
parentacf9783879dca0db0721c10ac79c9078f2dec425 (diff)
downloadrust-8fcf62b6385a5be4ef3a8e1bdb0f01ce907abd26.tar.gz
rust-8fcf62b6385a5be4ef3a8e1bdb0f01ce907abd26.zip
Don't abort if the runtime is run twice.
This changes an `assert_once_ever!` assertion to just a plain old assertion
around an atomic boolean to ensure that one particular runtime doesn't attempt
to exit twice.

Closes #9739
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions