Look harder, lots of drivers and net stuff does. Its a standard scheme to
avoid races
cli();
while(foo)
{
if(something_case)
break;
sleep_on*(&blah);
}
restore_flags(flags);
Alan
-
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/