|
From: | YAMAMOTO Mitsuharu |
Subject: | bug#65193: 29.1.50; SET_FRAME_ICONIFIED can cause Lisp evaluation inside read_socket_hook. |
Date: | Fri, 11 Aug 2023 01:33:41 +0900 |
User-agent: | Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Another problem specific to the NS port w.r.t. the call to gui_consider_frame_title from SET_FRAME_ICONIFIED is that it can also be called inside the select emulation via -[EmacsView windowDidDeminiaturize:] for example. With multiple Lisp threads, select causes thread switching. So, Lisp evaluations can simultaneously happen both on the main thread (via -[EmacsView windowDidDeminiaturize:]) and on another Lisp thread. This breaks the cooperative nature of the Emacs threads. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp
[Prev in Thread] | Current Thread | [Next in Thread] |