MultithreadReadersWriterLockBracket (struct)¶
Brackets for propagating permissions to children threads 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 | parentReadDepth | |
UInt32 | parentWriteDepth |
Methods¶
Methods in detail¶
MultithreadReadersWriterLockBracket ( in MultithreadReadersWriterLockBracket other )
copy constructor
MultithreadReadersWriterLockBracket ( in Ref<FastReadersWriterLock> rwLock )
MultithreadReadersWriterLockBracket ()
default constructor
MultithreadReadersWriterLockBracket MultithreadReadersWriterLockBracket.clone? ()
clone method