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:
sleep() and yield() Methods
What is the difference between yielding and sleeping?
✍: FYIcenter
When a thread invokes its yield() method, it returns to the ready state. When a thread invokes its sleep() method, it returns to the waiting state.
2007-03-03, 6126👍, 0💬
Popular Posts:
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
How can I enable session tracking for JSP pages if the browser has disabled cookies? We know that se...
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
How to make elements invisible? Change the "visibility" attribute of the style object associated wit...