guile-devel
[Top][All Lists]
Advanced

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

Re: Locks and threads


From: Andy Wingo
Subject: Re: Locks and threads
Date: Thu, 12 Mar 2009 23:13:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Hey Neil,

On Thu 12 Mar 2009 01:53, Neil Jerram <address@hidden> writes:

> Thanks to a hint from helgrind, I think the problem might be that the
> symbols obarray is not thread-safe.  But surely using a mutex for
> every symbol that Guile reads would be terrible for performance...

Dunno, in GStreamer we found that uncontended locks are cheap cheap
cheap. AFAIU they don't even cause context switches. And the reader will
be less important in terms of e.g. startup time once the VM lands.

Andy
-- 
http://wingolog.org/




reply via email to

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