diff options
author | Hikaru Nishida <hikarupsp@gmail.com> | 2019-10-15 10:07:34 +0900 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-10-18 10:35:31 +0200 |
commit | dff742ad27efa474ec04accdbf422c9acfd3e30e (patch) | |
tree | d7dfef0e8b8494c34e9f304744a12b0c213e978b /ui/curses.c | |
parent | f22f553efffd083ff624be116726f843a39f1148 (diff) |
ui: Fix hanging up Cocoa display on macOS 10.15 (Catalina)
macOS API documentation says that before applicationDidFinishLaunching
is called, any events will not be processed. However, some events are
fired before it is called in macOS Catalina. This causes deadlock of
iothread_lock in handleEvent while it will be released after the
app_started_sem is posted.
This patch avoids processing events before the app_started_sem is
posted to prevent this deadlock.
Buglink: https://bugs.launchpad.net/qemu/+bug/1847906
Signed-off-by: Hikaru Nishida <hikarupsp@gmail.com>
Message-id: 20191015010734.85229-1-hikarupsp@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/curses.c')
0 files changed, 0 insertions, 0 deletions