emacs-devel
[Top][All Lists]
Advanced

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

Re: igc, macOS avoiding signals


From: Gerd Möllmann
Subject: Re: igc, macOS avoiding signals
Date: Mon, 30 Dec 2024 16:34:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Pip Cet <pipcet@protonmail.com> writes:

>> Talking about SIGPROF protection code.  It appears to me now (again)
>> that, for the SIGPROF handler, this pseudo code
>>
>>   if (mps_arena_busy (<arena>))
>>     plog->gc_count = saturated_add (plog->gc_count, count);
>>   else
>>     record_backtrace (plog, count);
>>
>> is safe.
>
> Yes, it's safe, because it does have protection code.  
> The question was the extent to which this protection code is required,
> and whether we can find another way to deliver signals which doesn't
> require it.
>

What do you mean by protection code? Is that the commit I reverted?



reply via email to

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