Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is ReaderWriter Locks
What is ReaderWriter Locks ?
✍: Guest
You may want to lock a resource only when data is being written and permit multiple clients to simultaneously read data when data is not being updated. The ReaderWriterLock class enforces exclusive access to a resource while a thread is modifying the resource, but it allows nonexclusive access when reading the resource. ReaderWriter locks are a usefulalternative to exclusive locks that cause other threads to wait, even when those threads do not need to update data.
2007-10-22, 5491👍, 0💬
Popular Posts:
Can each Java object keep track of all the threads that want to exclusively access to it?
Does there exist any other function which can be used to convert an integer or a float to a string? ...
How To Specify Two Background Images on a Page? - CSS Tutorials - Page Layout and Background Image D...
Why is it preferred to not use finalize for clean up? Problem with finalize is that garbage collecti...
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.