aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
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.h
parentc5cc88c6ca43bf5bd420b67b2212ab68f7203f47 (diff)
downloadgsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar
gsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar.gz
gsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar.bz2
gsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar.lz
gsoc2013-evolution-ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92.tar.xz
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.h')
-rw-r--r--mail/mail-mt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index de2f91d81b..8642a3ebaa 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -23,6 +23,7 @@
#ifndef _MAIL_MT
#define _MAIL_MT
+#include <pthread.h>
#include "camel/camel-exception.h"
#include "e-util/e-msgport.h"
#include "camel/camel-object.h"
@@ -78,4 +79,8 @@ extern EMsgPort *mail_gui_reply_port;
extern EThread *mail_thread_queued; /* for operations that can (or should) be queued */
extern EThread *mail_thread_new; /* for operations that should run in a new thread each time */
+/* The main thread. */
+extern pthread_t mail_gui_thread;
+
+
#endif /* ! _MAIL_MT */