Alan Third <
address@hidden> schrieb am Do., 28. Dez. 2017 um 12:38 Uhr:
On Wed, Dec 27, 2017 at 05:41:23AM +0200, Eli Zaretskii wrote:
> What about the possibility that SAFE_NALLOCA could signal an error and
> longjmp to top level? Does this code always run in the main thread,
> and if so, can it allow such longjmp's?
I think it does always run in the main thread, however since it runs
within the NSApplication run loop I’ve no idea what would happen if we
did a longjmp.
We should probably avoid longjmps here. This message is invoked by the window manager, which most likely can't deal with longjmps.