On Fri, Apr 01, 2005 at 03:35:36AM +0300, guy keren wrote:

> "to hold" a semaphore, or "because we're already holding some other
> semaphore"?

good point, sorry for not being clear. "To sleep on a semaphore while
waiting to acquire it". Specifically - see
arch/i386/kernel/semaphore.c, __down(), which sets the task to
TASK_UNINTERRUPTIBLE. 

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to