[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12446: port better to POSIX hosts lacking _setjmp
From: |
Paul Eggert |
Subject: |
bug#12446: port better to POSIX hosts lacking _setjmp |
Date: |
Sat, 15 Sep 2012 13:26:05 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 |
On 09/15/2012 03:27 AM, Eli Zaretskii wrote:
> Yes, but from your description of the "messup" it sounds like _not_
> restoring the signal mask will cause the trouble.
Yes, the point is that the longjmp would get in the way of
Emacs restoring the signal mask, because the longjmp would
set the signal mask in an undesirable way.
> After your changes, we never restore the signal mask
And that's what we want. On platforms that have _setjmp, Emacs
already uses _setjmp so that the corresponding _longjmp does not
restore the signal mask, which is what we want. The changes
merely adjust the behavior to do the same thing on platforms
that have sigsetjmp but not _setjmp.
- bug#12446: port better to POSIX hosts lacking _setjmp, (continued)
- bug#12446: port better to POSIX hosts lacking _setjmp, Eli Zaretskii, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp, Paul Eggert, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp, Eli Zaretskii, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp, Paul Eggert, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp, Eli Zaretskii, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp, Paul Eggert, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp, Eli Zaretskii, 2012/09/15
- bug#12446: port better to POSIX hosts lacking _setjmp,
Paul Eggert <=