diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-22 00:52:33 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-23 09:45:20 -0700 |
| commit | 4d5aafd3a6a25967a4b0d9326bbbbc1840dbaeeb (patch) | |
| tree | 32eb1279284fce0fdd5400c115bb2c3f1be79b70 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | ae049e82f876e335b835edb674228090d84f811e (diff) | |
| download | rust-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
