emacs-devel
[Top][All Lists]
Advanced

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

Re: block_input for some APIs


From: Eli Zaretskii
Subject: Re: block_input for some APIs
Date: Tue, 13 Dec 2016 05:43:25 +0200

> From: Paul Eggert <address@hidden>
> Date: Mon, 12 Dec 2016 13:08:45 -0800
> 
> On 12/12/2016 10:01 AM, Eli Zaretskii wrote:
> > Does anyone remember why we block input around calls to functions like
> > getpwnam or tzset or fwrite?
> 
> I think this dates back to when C-g and/or other handlers called 
> longjmp.

Right, that was my guess as well.  Thanks.

> If I'm right, we don't need to block input around them any more,
> since our signal handlers are safer now.
> 
> Similarly for MALLOC_BLOCK_INPUT; we should be able to get rid of its 
> machinery now.

Yes, I think it would be good to get rid of those of them we don't
need any longer.



reply via email to

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