Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What's the difference between the methods sleep() and wait()
What's the difference between the methods sleep() and wait()
✍: Guest
The code sleep(1000); puts thread aside for exactly one second. The code wait(1000), causes a wait of up to one second. A thread could stop waiting earlier if it receives the notify() or notifyAll() call. The method wait() is defined in the class Object and the method sleep() is defined in the class Thread.
2012-09-11, 2714👍, 0💬
Popular Posts:
What are unadjusted function points and how is it calculated? Unadjusted function points = ILF + EIF...
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use th...
How To Use Subqueries with the IN Operator? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqu...
How To Add Margins to an Image? - PSP Tutorials - Fading Images to Background Colors with PSP In ord...
How Large Can a Single Cookie Be? - PHP Script Tips - Understanding and Managing Cookies How large c...