On 19:47 02 Oct 2003, Srini Amble <[EMAIL PROTECTED]> wrote:
| Does sleep() system call cause the process to be put on the wait queue? 

Yes.

| I am hoping sleep() does not cause a spin lock. My objective being to 
| force the process to give up the CPU for some duration of time. I 
| appreciate any helpful response to resolve this question in my mind.

Sleep is what you want.
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

A slipping sear could let your M203 grenade launcher fire when you least
expect it.  That would make you quite unpopular in what's left of your unit.
        - page 9 of the August 1993 issue of PS magazine, the US Army's
          preventive maintenance magazine


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to