1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00

* syssignal.h (handle_on_main_thread): Always declare,

even if FORWARD_SIGNAL_TO_MAIN_THREAD is not defined.
This ports to platforms without HAVE_PTHREAD.
This commit is contained in:
Paul Eggert 2012-09-06 23:47:30 -07:00
parent 8f06accefa
commit 30730c93a0
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-09-07 Paul Eggert <eggert@cs.ucla.edu>
* syssignal.h (handle_on_main_thread): Always declare,
even if FORWARD_SIGNAL_TO_MAIN_THREAD is not defined.
This ports to platforms without HAVE_PTHREAD.
2012-09-06 Paul Eggert <eggert@cs.ucla.edu>
Signal-handler cleanup (Bug#12327).

View file

@ -84,5 +84,6 @@ char *strsignal (int);
#ifdef FORWARD_SIGNAL_TO_MAIN_THREAD
extern pthread_t main_thread;
void handle_on_main_thread (int, signal_handler_t);
#endif
void handle_on_main_thread (int, signal_handler_t);