Rui Sousa wrote:
>
> And having a interruptible_sleep_on() with no locking at all (like in VIDIOCSYNC
> ioctl) is a strict no-no?
There are one or two exceptions where sleep_on() is correct... (*)
Ingo added
wait_event_lock_irq()
to his raid drivers <linux/raid/md_k.h>, perhaps we should move it into
<linux/sched.h>?
-- Manfred(*) e.g. the filesystems can continue to use it if both wake_up and sleep_on are protected by lock_kernel().
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:22 EST