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, 5564👍, 0💬
Popular Posts:
What is the difference between delegate and events? ã Actually events use delegates in bottom. But ...
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use th...
Can Java object be locked down for exclusive use by a given thread? Yes. You can lock an object by p...
1. The basics first, please define the web in simple language? How is it connected with internet? Wh...
How To Merge Cells in a Row? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells If you wan...