emacs-devel
[Top][All Lists]
Advanced

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

Re: Network security manager


From: Lars Magne Ingebrigtsen
Subject: Re: Network security manager
Date: Tue, 18 Nov 2014 21:51:13 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.51 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> Now I just need to know how to determine if a function is running from
>>> an async callback...
>> There's a C variable called running_asynch_code, but it's not exposed to
>> Lisp.  Unless there's something else in there that can be used, should
>> we just export that to Lisp, like the `noninteractive' variable?
>
> I guess we could export it (read-only) to Lisp, yes.

How does one mark variables as read-only?

> Tho, maybe it would be worth it to have a separate var for it,
> writeable, which we could arrange to consider (some?) process filters to
> be synchronous when run during a sync call to accept-process-output.

Oh, I see.  Yes, that would make sense, yes.

I also did some further testing with my patch, and apparently timers do
not set the running_asynch_code variable?  They probably should set
that separate variable, too.  I think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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