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.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/mail-mt.h') 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 #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 */ -- cgit