msleep : question and typo
msleep : question and typo
- Subject: msleep : question and typo
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 31 Jul 2008 17:07:44 +0200
Typo:
http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/services/chapter_16_section_2.html#/
/apple_ref/doc/uid/TP30000905-CH219-CHDFIGGH
"you should with either use wait_queue functions or use"
-> with--;
Question:
Let's say you are in a re-entrant callback and you make a call to
msleep(void * channel, ...) on multiple calls with the same channel
and you then issue a wakeup(void * channel) call.
Does it:
- wake up all the sleeping "threads" at once?
or
- wake up only one sleeping thread?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden