Method BeginReadExclusive
BeginReadExclusive()
Puts DispatchQueue into exclusive lock mode till EndReadExclusiveClearAndFlip() is called to prevent buffer flipping. Only one thread can access the read buffer, usually to modify it (cleanup system can free the memory that is used by messages).
Declaration
public UnsafeList<LogMessage>.ParallelReader BeginReadExclusive()
Returns
Type | Description |
---|---|
UnsafeList<LogMessage>.ParallelReader | ParallelReader is returned that can be used to get all the LogMessage's from read buffer, usually to dispose them |