[EMAIL PROTECTED] said: > What is wrong with sleep_on()? Are you asking me? If so, why did I not receive a copy in my inbox? If I want to filter duplicates locally, I can. I don't. It's almost impossible to use it safely, and the few ways you _can_ use it safely are frowned upon, because they mostly involve using the BKL, usage of which is slowly being phased out in favour of finer-grained locking. This kind of code is far too common: if (!event) { /* BUT WHAT IF THE EVENT ARRIVES _NOW_? */ sleep_on(&event_wait); } -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [ANNOUNCE] Kernel Janitor's... davej
- Re: [ANNOUNCE] Kernel Janitor's... Timur Tabi
- Re: [ANNOUNCE] Kernel Janitor's... Rasmus Andersen
- Re: [ANNOUNCE] Kernel Janitor's... Peter Samuelson
- Re: [ANNOUNCE] Kernel Janitor's... Ingo Oeser
- Re: [ANNOUNCE] Kernel Janitor's... David Woodhouse
- Re: [ANNOUNCE] Kernel Janitor's... Timur Tabi
- Re: [ANNOUNCE] Kernel Janitor's... Daniel Phillips
- Re: [ANNOUNCE] Kernel Janitor's... Timur Tabi
- Re: [ANNOUNCE] Kernel Janitor's... David Woodhouse
- Re: [ANNOUNCE] Kernel Janitor's... David Woodhouse
- Re: [ANNOUNCE] Kernel Janitor's... Andi Kleen
- Re: [ANNOUNCE] Kernel Janitor's... Roman Zippel
- Re: [ANNOUNCE] Kernel Janitor's... Andi Kleen
- Re: [ANNOUNCE] Kernel Janitor's... Andrea Arcangeli
- Re: [ANNOUNCE] Kernel Janitor's... Andrea Arcangeli
- Re: [ANNOUNCE] Kernel Janitor's TOD... Alan Cox
- Re: [ANNOUNCE] Kernel Janitor's... Manfred Spraul
- Re: [ANNOUNCE] Kernel Janitor's TODO list Rusty Russell
- Re: [ANNOUNCE] Kernel Janitor's TODO list Andrew Morton