From ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 22 Jan 2001 23:16:33 +0000 Subject: make mail_gui_thread non-static. * mail-mt.[ch]: make mail_gui_thread non-static. * main.c (main): Set up signal handler for SEGV, BUS, FPE (segv_redirect): if a gnome-segv'ing signal is received in a thread other than mail_gui_thread, re-deliver it to that thread to work around a problem with the gnome segv handler. svn path=/trunk/; revision=7728 --- mail/mail-mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-mt.c') diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 1735432070..11cd181ce9 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -28,7 +28,7 @@ static GHashTable *mail_msg_active; /* table of active messages, must hold mail_ static pthread_mutex_t mail_msg_lock = PTHREAD_MUTEX_INITIALIZER; static pthread_cond_t mail_msg_cond = PTHREAD_COND_INITIALIZER; -static pthread_t mail_gui_thread; /* so we can tell when we're in the main thread, or not */ +pthread_t mail_gui_thread; void *mail_msg_new(mail_msg_op_t *ops, EMsgPort *reply_port, size_t size) { -- cgit