about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-22 00:52:33 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-23 09:45:20 -0700
commit4d5aafd3a6a25967a4b0d9326bbbbc1840dbaeeb (patch)
tree32eb1279284fce0fdd5400c115bb2c3f1be79b70 /src/rustllvm/ExecutionEngineWrapper.cpp
parentae049e82f876e335b835edb674228090d84f811e (diff)
downloadrust-4d5aafd3a6a25967a4b0d9326bbbbc1840dbaeeb.tar.gz
rust-4d5aafd3a6a25967a4b0d9326bbbbc1840dbaeeb.zip
sync: Introduce new wrapper types for locking
This introduces new synchronization types which are meant to be the foundational
building blocks for sharing data among tasks. The new Mutex and RWLock types
have a type parameter which is the internal data that is accessed. Access to the
data is all performed through the guards returned, and the guards all have
autoderef implemented for easy access.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions