root@chaos.analogic.com said:
> I am sure that you can have things look correct as well as run
> properly. However, you didn't show us the code. You need to do
> something like:
> interruptible_sleep_on(&semaphore);
> while your wake-up occurs with:
> wake_up_interruptible(&semaphore);
Do not ever use sleep_on() and friends. Almost all usage of these
functions will be buggy.
-- dwmw2
- 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/