[PATCH v5] introduce macro spin_event_timeout()

Timur Tabi timur at freescale.com
Thu Mar 12 08:02:27 EST 2009


Scott Wood wrote:

 > Or you can say that atomic context is outside the scope of this macro.

No, I don't want to say that.  We have wait_event_timeout() for larger-scale 
operations.  I'm just looking for something that can replace "while (!condition);"

-- 
Timur Tabi
Linux Kernel Developer @ Freescale



More information about the Linuxppc-dev mailing list