]> git.eshelyaron.com Git - emacs.git/commit
Fix deadlocks
authorPo Lu <luangruo@yahoo.com>
Mon, 12 Jun 2023 06:19:01 +0000 (14:19 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 12 Jun 2023 06:19:01 +0000 (14:19 +0800)
commit3b08bb1318cd0bf6bc1811b520f9c6934b1aa3bd
treeb7effb4669608cb3329923a7c7a8a1387dbea412
parente3196835ed08a1d1a675b933a53d1a397defd561
Fix deadlocks

* java/org/gnu/emacs/EmacsView.java (EmacsView)
(showOnScreenKeyboard, hideOnScreenKeyboard): Don't synchronize.
* java/org/gnu/emacs/EmacsWindow.java (EmacsWindow)
(toggleOnScreenKeyboard): Revert to calling IMM functions from
the main thread.
* src/android.c (struct android_event_container)
(android_pselect_nfds, android_pselect_readfds)
(android_pselect_writefds, android_pselect_exceptfds)
(android_pselect_timeout): Don't make volatile.
(android_wait_event): Run queries if necessary.
java/org/gnu/emacs/EmacsView.java
java/org/gnu/emacs/EmacsWindow.java
src/android.c