]> git.eshelyaron.com Git - emacs.git/commit
Properly wait for app thread exit on Haiku
authorPo Lu <luangruo@yahoo.com>
Fri, 15 Apr 2022 01:23:27 +0000 (01:23 +0000)
committerPo Lu <luangruo@yahoo.com>
Fri, 15 Apr 2022 01:23:27 +0000 (01:23 +0000)
commit6c4559d13865cb5761071ac59f395718b85eb41c
tree488b956da1b7197e00cd504893b0dedbe7941354
parent804d919ac5ca228164bf3a74b3911fa2f946fc7a
Properly wait for app thread exit on Haiku

* src/haiku_support.cc (MessageReceived): Handle
QUIT_APPLICATION.
(start_running_application): Clean up code a little.
(wait_for_exit_of_app_thread): New function.
(BApplication_setup): Add atexit handler to clean up app thread.
(be_app_quit): Delete function.
* src/haikuterm.c (haiku_delete_terminal): Un-implement
function.
* src/haikuterm.h: Update prototypes.
src/haiku_support.cc
src/haikuterm.c
src/haikuterm.h