Method | Description | |
---|---|---|
AcquireReaderLock ( System.TimeSpan timeout ) : void | ||
AcquireReaderLock ( int millisecondsTimeout ) : void | ||
AcquireWriterLock ( System.TimeSpan timeout ) : void | ||
AcquireWriterLock ( int millisecondsTimeout ) : void | ||
AnyWritersSince ( int seqNum ) : bool | ||
DowngradeFromWriterLock ( |
||
ReaderWriterLock ( ) : System.Diagnostics | ||
ReleaseLock ( ) : |
||
ReleaseReaderLock ( ) : void | ||
ReleaseWriterLock ( ) : void | ||
RestoreLock ( |
||
UpgradeToWriterLock ( System.TimeSpan timeout ) : |
||
UpgradeToWriterLock ( int millisecondsTimeout ) : |
Method | Description | |
---|---|---|
GetCurrentThreadID ( ) : int | ||
GetInvalidLockCookieException ( ) : |
||
GetInvalidTimeoutException ( string parameterName ) : |
||
GetNotOwnerException ( ) : |
The original code used an incorrect Exception.HResult for this exception. The Exception.HResult value was set to ERROR_NOT_OWNER without first converting that error code into an HRESULT. The same value is used here for compatibility.
|
|
GetOrCreateReaderEvent ( ) : |
||
GetOrCreateWriterEvent ( ) : |
||
GetTimeoutException ( ) : |
||
RecoverLock ( |
Helper function that restores the lock to the original state indicated by parameters
|
|
ReleaseEvents ( ) : void | ||
ToTimeoutMilliseconds ( System.TimeSpan timeout ) : int | ||
TryGetOrCreateReaderEvent ( ) : |
||
TryGetOrCreateWriterEvent ( ) : |
||
YieldProcessor ( ) : bool |
public AcquireReaderLock ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | |
return | void |
public AcquireReaderLock ( int millisecondsTimeout ) : void | ||
millisecondsTimeout | int | |
return | void |
public AcquireWriterLock ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | |
return | void |
public AcquireWriterLock ( int millisecondsTimeout ) : void | ||
millisecondsTimeout | int | |
return | void |
public DowngradeFromWriterLock ( |
||
lockCookie | ||
return | void |
public ReaderWriterLock ( ) : System.Diagnostics | ||
return | System.Diagnostics |
public RestoreLock ( |
||
lockCookie | ||
return | void |
public UpgradeToWriterLock ( System.TimeSpan timeout ) : |
||
timeout | System.TimeSpan | |
return |
public UpgradeToWriterLock ( int millisecondsTimeout ) : |
||
millisecondsTimeout | int | |
return |