Re: [PATCH] Lightweight userspace semaphores...

Linus Torvalds (torvalds@transmeta.com)
Mon, 25 Feb 2002 11:31:57 -0800 (PST)


On Mon, 25 Feb 2002, Alan Cox wrote:
>
> Ok I see where you are coming from now -- that makes sense for a few cases.

Note that the "few cases" in question imply _all_ of the current broken
library spinlocks, for example.

Don't think "POSIX semaphores", but think "fast locking" in the general
case. I will bet you $1 in small change that most normal locking by far is
for the kind of thread-safe stuff libc does right now.

Linus

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