aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-05-06 19:46:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-05-06 19:46:36 +0800
commit95f58c95b6915c7003a52a652fa6aff2bb86b613 (patch)
tree7b45a7441f1abfe2da6879ce29840d7702f69dc3 /e-util/e-msgport.h
parent7719a8ad66b24d15a511e1b6c648dda4e36a6973 (diff)
downloadgsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.tar
gsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.tar.gz
gsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.tar.bz2
gsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.tar.lz
gsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.tar.xz
gsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.tar.zst
gsoc2013-evolution-95f58c95b6915c7003a52a652fa6aff2bb86b613.zip
Destroy our mutex too. (e_thread_new): Add thread to a new list of all
2002-05-06 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Destroy our mutex too. (e_thread_new): Add thread to a new list of all threads. (e_thread_destroy): Remove thread from list of all threads. (e_thread_busy): New function, returh true if we're busy somewhere processing work. svn path=/trunk/; revision=16683
Diffstat (limited to 'e-util/e-msgport.h')
-rw-r--r--e-util/e-msgport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-msgport.h b/e-util/e-msgport.h
index d181ac7fb7..03dc514b07 100644
--- a/e-util/e-msgport.h
+++ b/e-util/e-msgport.h
@@ -64,6 +64,7 @@ void e_thread_set_msg_destroy(EThread *e, EThreadFunc destroy, void *data);
void e_thread_set_reply_port(EThread *e, EMsgPort *reply_port);
void e_thread_set_msg_received(EThread *e, EThreadFunc received, void *data);
void e_thread_put(EThread *e, EMsg *msg);
+int e_thread_busy(EThread *e);
/* sigh, another mutex interface, this one allows different mutex types, portably */
typedef struct _EMutex EMutex;