ThreadReadersWriterLockBracket (struct)¶
Brackets for propagating permissions from parent thread under ParallelExecute. If a multithreading is started from an already locked FastReadersWriterLock this must be used to properly preserve the states. The MultithreadReadersWriterLockBracket must be built by the thread starting the multithreading, and the ThreadReadersWriterLockBracket must be built by the associated worker thread.
注釈
Because of limitations on the thread pool behavior, this construct will not work properly under nested parallel execute (2+ levels)
Members¶
Ref<FastReadersWriterLock> | rwLock | |
UInt32 | threadId | |
UInt32 | backupReadDepth | |
UInt32 | backupWriteDepth |
Methods¶
Methods in detail¶
ThreadReadersWriterLockBracket ( in MultithreadReadersWriterLockBracket parentBracket )
ThreadReadersWriterLockBracket ( in ThreadReadersWriterLockBracket other )
copy constructor
ThreadReadersWriterLockBracket ()
default constructor
ThreadReadersWriterLockBracket ThreadReadersWriterLockBracket.clone? ()
clone method