Try nanosleep.
sleep isn't reliable on some versions of Unix (eg Solaris 2.6) as it uses SIGALRM, which may also be used by the thread mechanism.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: thread sleepThreaded View
|
Click Here to Expand Forum to Full Width |