[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Async DNS lookups
From: |
Andreas Schwab |
Subject: |
Re: Async DNS lookups |
Date: |
Thu, 04 Nov 2010 09:27:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> I think the implication is that you would have to add one (and use it
>>> every time any code whatsoever accessed that variable).
>> It's already being used several places without any locking.
>
> Indeed, because it's only accessed by a single thread right now (it's
> not even accessed from a signal handler). So you'd have to add locking
> if it becomes shared between threads.
Since it is using Lisp values it cannot be used by anything but the main
thread anyway.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: Async DNS lookups, (continued)
- Re: Async DNS lookups, Stefan Monnier, 2010/11/02
- Re: Async DNS lookups, Lars Magne Ingebrigtsen, 2010/11/02
- Re: Async DNS lookups, Tom Tromey, 2010/11/02
- Re: Async DNS lookups, Lars Magne Ingebrigtsen, 2010/11/02
- Re: Async DNS lookups, Tom Tromey, 2010/11/02
- Re: Async DNS lookups, Stefan Monnier, 2010/11/02
- Re: Async DNS lookups, Lars Magne Ingebrigtsen, 2010/11/03
- Re: Async DNS lookups, Davis Herring, 2010/11/03
- Re: Async DNS lookups, Lars Magne Ingebrigtsen, 2010/11/03
- Re: Async DNS lookups, Stefan Monnier, 2010/11/03
- Re: Async DNS lookups,
Andreas Schwab <=
- Re: Async DNS lookups, Stefan Monnier, 2010/11/04
- Re: Async DNS lookups, Ken Raeburn, 2010/11/04
- Re: Async DNS lookups, Lars Magne Ingebrigtsen, 2010/11/04
- Re: Async DNS lookups, Davis Herring, 2010/11/04
- Re: Async DNS lookups, Stefan Monnier, 2010/11/04