Re: wait_event() :(

Jan Hudec (bulb@ucw.cz)
Wed, 3 Oct 2001 15:11:28 +0200


> > It inserts itself in a wait queue. The schedule returns when wakeup is called
> > on the wait queue.

You may have processes waiting for different events on a single wait queue.
Calling wakeup wakes them up all. Eg. you may have 1 queue per object and
all events wake it up.

--------------------------------------------------------------------------------
- Jan Hudec `Bulb' <bulb@ucw.cz>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/