emacs-devel
[Top][All Lists]
Advanced

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

Re: Watchpoints for emacs lisp.


From: Stefan Monnier
Subject: Re: Watchpoints for emacs lisp.
Date: Wed, 26 May 2010 09:46:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> In which cases the access to this shared resource is concurrent?
>> If you build without -DSYNC_INPUT, Emacs may call malloc from
>> asynchronous signal handlers (yes, it's usually considered as a no-no in
>> Unix programming, which is why we have switched to SYNC_INPUT).
> In which situation it is useful to create new symbols in signal handlers ?

Without -DSYNC_INPUT we run a whole lot of code within the signal
handlers, so whether that code can create symbols or not, I don't know,
but figuring it out is difficult.  Hence -DSYNC_INPUT.


        Stefan



reply via email to

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