emacs-devel
[Top][All Lists]
Advanced

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

Re: Asynchronous DNS


From: Andreas Schwab
Subject: Re: Asynchronous DNS
Date: Mon, 08 Feb 2016 13:55:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alain Schneble <address@hidden> writes:

> Andreas Schwab <address@hidden> writes:
>
>> Lars Ingebrigtsen <address@hidden> writes:
>>
>>> It would be better if the application code didn't have to care, but that
>>> means that either all those functions will have to block (getting us
>>> back to square one, basically), or they'll have to set up a queue of
>>> pending actions to be taken, which I think is rather too ambitious. 
>>
>> There's still the benefit of blocking in the Emacs event loop instead of
>> a system call, with the former Emacs can still run other process
>> filters.
>
> That sounds interesting, but would it really be feasible to call out to
> the event loop while in the blocking call?

That's what accept-process-output does.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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