ReaderWriterLock.AcquireReaderLock method documentation is missing information about possible exceptions (821615)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
SUMMARYThe documentation about the ReaderWriterLock.AcquireReaderLock method does not discuss the possible exceptions that you may
notice when a thread calls the AcquireReaderLock method. For example, you may receive the following exception
error message when a thread calls the AcquireReaderLock method: OutOfMemoryException MORE INFORMATIONYou can use the ReaderWriterLock class to synchronize access to a resource that is shared among
multiple threads. The ReaderWriterLock class allows either concurrent read access for multiple threads
or write access for a single thread.
The AcquireReaderLock method of the ReaderWriterLock class acquires read access to a resource for a thread that calls
the method. However, if the thread that calls the AcquireReaderLock method is terminated while waiting in the method, you receive the
"out of memory" error message. REFERENCESFor more information, visit the following Microsoft Web
sites:
Modification Type: | Minor | Last Reviewed: | 3/7/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbpending kberrmsg kbThreadSync kbThread kbdocerr kbBug KB821615 kbAudDeveloper |
---|
|