> On Mon, 25 Jan 1999, Tim Waugh wrote:
>
> > All I want is a primitive that I can use to count and wait for events.
> > Semaphores used to do that, before they became recursive. Now my code is
> > broken, and I'm not sure what the correct fix is.
>
> > How would you modify the code so that it works again?
>
> something like this?:
Thanks, that's exactly what I wanted. (And finally that construct makes
sense to me!)
Tim.
*/
-
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/