about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJason Toffaletti <jason@topsy.com>2013-11-11 13:33:43 -0800
committerJason Toffaletti <jason@topsy.com>2013-11-13 14:44:50 -0800
commit91de538c9802e7c45cadc5391450631c74f593d2 (patch)
tree9d27e1bca85ec26ee67d489c95d3c7ce5b513b49 /src/rustllvm/RustWrapper.cpp
parent2b2a89d97f72aa6f1b1fc9849c4322f294747e12 (diff)
downloadrust-91de538c9802e7c45cadc5391450631c74f593d2.tar.gz
rust-91de538c9802e7c45cadc5391450631c74f593d2.zip
add rust_trylock_little_lock
Try to acquire lock and succeed only if lock is not already held.
Uses TryEnterCriticalSection or pthread_mutex_trylock.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions