[Top][All Lists]
[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'.
- Re: Locks and threads, (continued)
- Re: Locks and threads, Neil Jerram, 2009/03/13
- Re: Locks and threads, Neil Jerram, 2009/03/25
- Re: Locks and threads, Linas Vepstas, 2009/03/25
- Re: Locks and threads, Neil Jerram, 2009/03/26
- Re: Locks and threads, Linas Vepstas, 2009/03/26
- Re: Locks and threads, Ludovic Courtès, 2009/03/26
- Re: Locks and threads, Neil Jerram, 2009/03/26
- Re: Locks and threads, Ludovic Courtès, 2009/03/26
- Re: Locks and threads, Neil Jerram, 2009/03/26
- Re: Locks and threads, Linas Vepstas, 2009/03/26
- Re: Locks and threads,
Ludovic Courtès <=
- Re: Locks and threads, Andy Wingo, 2009/03/16
Re: Locks and threads, Neil Jerram, 2009/03/25
Re: Locks and threads, Neil Jerram, 2009/03/05