diff options
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r-- | mail/mail-mt.h | 5 |
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 */ |