![]() |
| | #1 |
| Registered User Join Date: Mar 2004
Posts: 161
| sleep() If I put 0.x it will be rounded to 0
__________________ This forum is the best one I've ever seen. Great ppl, great coders |
| BianConiglio is offline | |
| | #3 |
| Registered User Join Date: Mar 2004
Posts: 161
| great, let me try
__________________ This forum is the best one I've ever seen. Great ppl, great coders |
| BianConiglio is offline | |
| | #4 |
| . Join Date: Nov 2003
Posts: 293
| nanosleep() as well. But be aware - the time specified for both of these is the MINIMUM. If another process got the cpu while your process was away, your process may not get it back after waking up until a full quantum (time slice) has elapsed. ie., longer sleep time than you wanted. |
| jim mcnamara is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [pthread] cancellable sleep in win32? | cyberfish | C++ Programming | 2 | 08-11-2007 02:30 AM |
| Sleep works with just one thread, but not 2 | finkus | C++ Programming | 5 | 12-01-2005 09:17 PM |
| Problem with Sleep() #$@^#$%^ | intruder | C++ Programming | 8 | 10-11-2004 06:46 AM |
| why do we require sleep? | jinx | A Brief History of Cprogramming.com | 43 | 07-14-2004 08:21 AM |
| Sleep is overrated... | Polymorphic OOP | A Brief History of Cprogramming.com | 24 | 01-24-2003 12:40 PM |