Upgrades the thread to a writer. If the thread has is a reader, it is possible that the reader lock was released before writer lock was acquired.
Upgrades the thread to a writer. If the thread has is a reader, it is possible that the reader lock was released before writer lock was acquired.
[Visual Basic] Overloads Public Function UpgradeToWriterLock(TimeSpan) As LockCookie
[C#] public LockCookie UpgradeToWriterLock(TimeSpan);
[C++] public: LockCookie UpgradeToWriterLock(TimeSpan);
[JScript] public function UpgradeToWriterLock(TimeSpan) : LockCookie;
Upgrades the thread to a writer. If the thread has is a reader, it is possible that the reader lock was released before writer lock was acquired.
[Visual Basic] Overloads Public Function UpgradeToWriterLock(Integer) As LockCookie
[C#] public LockCookie UpgradeToWriterLock(int);
[C++] public: LockCookie UpgradeToWriterLock(int);
[JScript] public function UpgradeToWriterLock(int) : LockCookie;
ReaderWriterLock Class | ReaderWriterLock Members | System.Threading Namespace