netbsd-help: Re: sched_yield() and relinquishing CPU

Subject: Re: sched_yield() and relinquishing CPU
To: Christos Zoulas <christos@astron.com>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 07/06/2005 09:34:40
christos@astron.com (Christos Zoulas) writes:
>>You give up the CPU automatically whenever your process blocks or when
>>you run out of your time quantum. If you want to give up the CPU
>>earlier by intent, just block.
>
> Or do a system call eg. select(0, NULL, NULL, NULL, NULL);
That's a way of blocking.
Perry

AltStyle によって変換されたページ (->オリジナル) /