Name
LockCookie
Synopsis
This structure returns a
LockCookie
representing the type of lock (read or write) released. The same type
of lock can be restored by calling
ReaderWriterLock.RestoreLock( )
.
public struct LockCookie { // No public or protected members }
Hierarchy
System.Object
→
System.ValueType
→
LockCookie
Returned By
ReaderWriterLock.{ReleaseLock( )
,
UpgradeToWriterLock( )}
Passed To
ReaderWriterLock.{DowngradeFromWriterLock( )
,
RestoreLock( )}
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.