aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-23 07:16:33 +0800
committerDan Winship <danw@src.gnome.org>2001-01-23 07:16:33 +0800
commitff2d16601e0b4b71339b0820f4d2a5e0e92fdb92 (patch)
tree01655e9609b6c379a4f243dde2d55c036a230c1f /mail/mail-mt.c
parentc5cc88c6ca43bf5bd420b67b2212ab68f7203f47 (diff)
downloadgsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar.gz
gsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar.zst
gsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.zip
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
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c2
1 files changed, 1 insertions, 1 deletions
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)
{