[Top][All Lists]

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

Re: Async DNS lookups

From: Lars Magne Ingebrigtsen
Subject: Re: Async DNS lookups
Date: Tue, 02 Nov 2010 19:28:46 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Tom Tromey <address@hidden> writes:

> I would suggest just keeping all the thread stuff in C.  Don't provide
> any callback.  Instead, have the main thread run the event loop (a la
> sit-for -- I don't know the C functions offhand) and return an answer
> when the worker thread reports back.

This is meant to be used to provide non-blocking domain lookups for
things that are asynchronous.  Having the Lisp code wait for this async
lookup to finish would be, er, not helpful.  :-)

(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen

reply via email to

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