]> git.eshelyaron.com Git - emacs.git/commit
Block profiling signals in the Android UI thread
authorPo Lu <luangruo@yahoo.com>
Fri, 9 Jun 2023 06:03:50 +0000 (14:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 9 Jun 2023 06:03:50 +0000 (14:03 +0800)
commitc321eea5af535d102c5e1d2d7e95029ce6fee427
treeefd19f5c11d2bf426c196ab97403aa1d58e223b9
parent7f073df53374bc1b96ac07e949af11b8af06b94b
Block profiling signals in the Android UI thread

* java/org/gnu/emacs/EmacsNative.java (EmacsNative): New
function `setupSystemThread'.
* java/org/gnu/emacs/EmacsService.java (onCreate): Block all
signals except for SIGBUS and SIGSEGV in the UI thread.
* src/android.c (setupSystemThread): New function.
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsService.java
src/android.c