guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locks and threads


From: Ludovic Courtès
Subject: Re: Locks and threads
Date: Sat, 14 Mar 2009 15:23:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Hello!

Andy Wingo <address@hidden> writes:

> Dunno, in GStreamer we found that uncontended locks are cheap cheap
> cheap. AFAIU they don't even cause context switches.

On GNU/Linux they are implemented using futexes and the kernel is not
invoked when there's no contention.

Still, I would measure the impact on `module-define!' and `module-ref'
because that's at least an additional function call.

Thanks,
Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]