[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thread safe functions
From: |
Andy Wingo |
Subject: |
Re: thread safe functions |
Date: |
Mon, 23 May 2011 22:25:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
On Tue 15 Feb 2011 17:00, Ken Raeburn <address@hidden> writes:
> On Feb 10, 2011, at 17:19, Andy Wingo wrote:
>>> symbols.c: I don't think 'symbols' is handled safely. But this code
> is
>>> all starting to run together in my mind. :-)
>>
>> I think I fixed this one a month ago or so.
>
> Hmm... maybe. It looks to me like it'll probably be okay, *if* you
> assume that updates aren't seen out-of-order by another thread.
Indeed, you are right. Fixed. Did not appear to have any performance
impact, either...
Andy
--
http://wingolog.org/
- Re: thread safe functions,
Andy Wingo <=