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 the purpose of the wait(), notify(), and notifyAll() methods?
What is the purpose of the wait(), notify(), and notifyAll() methods?
✍: Guest
The wait(),notify(), and notifyAll() methods are used to provide an efficient way for threads to wait for a shared resource. When a thread executes an object's wait() method, it enters the waiting state. It only enters the ready state after another thread invokes the object's notify() or notifyAll() methods.
2012-10-31, 2450👍, 0💬
Popular Posts:
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, ...
How do I force the Dispose method to be called automatically, as clients can forget to call Dispose ...
What are the high-level thread states? The high-level thread states are ready, running, waiting, and...
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written...
Give me the example of SRS and FRS SRS :- Software Requirement Specification BRS :- Basic Requiremen...