jeffreyg
asked on
Linux variant for Windows Sleep command
Can someone please tell me how to implement a sleep command for Linux in the same was as the Windows variant.
The Windows version tells the current process to go to sleep and stops it for a number of milliseconds, but allows other functions/threads in the application to work in the background. How do I do this in Linux????
I want to let other threads do their bit, by waiting for one second.
I saw the sleep and usleep command in Linux but does this do what I need???
I am coding in QT3 / C++ on SuSE.
regards,
Gordon?
The Windows version tells the current process to go to sleep and stops it for a number of milliseconds, but allows other functions/threads in the application to work in the background. How do I do this in Linux????
I want to let other threads do their bit, by waiting for one second.
I saw the sleep and usleep command in Linux but does this do what I need???
I am coding in QT3 / C++ on SuSE.
regards,
Gordon?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
regards,
Gordon.