[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Async DNS lookups
From: |
Ken Raeburn |
Subject: |
Re: Async DNS lookups |
Date: |
Thu, 4 Nov 2010 12:09:05 -0400 |
By "threads" I meant "threads or helper subprocesses"; we don't *have* to
introduce threads to Emacs right now if it would be too complicated for this
one little task.
That said, I do hope we can go that route, as I can imagine other things that
might be improved with careful use of threads. For example, file access on a
slow or unresponsive NFS server blocks the thread trying to do the I/O... but
if that's not the thread managing the display and checking for ^G, maybe we can
make it appear interruptible to the user, or do redisplay as needed while
waiting for the file I/O to finish. (POSIX has an async I/O API that could
help too, but I'm not sure if it's portable enough yet, and again the glibc
implementation appears to just spin off helper threads.)
Ken
- Re: Async DNS lookups, (continued)
- 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, 2010/11/04
- Re: Async DNS lookups, Stefan Monnier, 2010/11/04
- Re: Async DNS lookups,
Ken Raeburn <=
- 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