Re: [PATCH] Futexes IV (Fast Lightweight Userspace Semaphores)

From: Ulrich Drepper (drepper@redhat.com)
Date: Sun Mar 17 2002 - 19:52:00 EST


On Sat, 2002-03-16 at 22:50, Rusty Russell wrote:

> Only vs. pthread_cond_broadcast.

No. pthread_barrier_wait has the same problem. It has to wake up lots
of thread.

> And if you're using that you probably
> have some other performance issues anyway?

Why? Conditional variables are of use in situations with loosely
coupled threads.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


- 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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:14 EST