Re: wait_queue_t is fundamentally broken; need pthread_cond_t

From: Linus Torvalds
Date: Fri Feb 27 2004 - 18:23:23 EST




On Fri, 27 Feb 2004, Ralph Campbell wrote:
>
> [1.] One line summary of the problem:
> wait_queue_t is fundamentally broken; need pthread_cond_t

One-line summary response:

use "wait_event()".

And no, we sure as hell don't need those stupid pthread condition
variables. Just use wait-queues properly instead.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/