aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-pt-proxy.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-21 07:15:47 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-21 07:15:47 +0800
commit87f84c22a871161adb52abdf9fe3bef01a601f3b (patch)
tree449943f0c10680f75d30bf73995357306d3f228f /camel/camel-folder-pt-proxy.h
parentad24a0d6eb148f9fdf82cc42384b2891ce32a61f (diff)
downloadgsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.tar
gsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.tar.gz
gsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.tar.bz2
gsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.tar.lz
gsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.tar.xz
gsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.tar.zst
gsoc2013-evolution-87f84c22a871161adb52abdf9fe3bef01a601f3b.zip
Signal proxying implemenatation. (_signal_marshaller_server_side):
1999-09-21 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder-pt-proxy.c: Signal proxying implemenatation. (_signal_marshaller_server_side): (_signal_marshaller_client_side): (_init_signals_proxy): Code not is tested and has to be best explained as it uses threads conditions and gtk signal system. (_thread_notification_catch): notify pending signals as well as thread availability. svn path=/trunk/; revision=1244
Diffstat (limited to 'camel/camel-folder-pt-proxy.h')
-rw-r--r--camel/camel-folder-pt-proxy.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/camel/camel-folder-pt-proxy.h b/camel/camel-folder-pt-proxy.h
index 9051065b08..50b9887adb 100644
--- a/camel/camel-folder-pt-proxy.h
+++ b/camel/camel-folder-pt-proxy.h
@@ -38,17 +38,25 @@
#define IS_CAMEL_FOLDER_PT_PROXY(o) (GTK_CHECK_TYPE((o), CAMEL_FOLDER_PT_PROXY_TYPE))
typedef struct {
+ guint signal_id;
+ GtkArg *args;
+} PtProxySignaData;
+
+typedef struct {
CamelFolder parent;
gchar *real_url;
CamelFolder *real_folder;
- GStaticMutex mutex;
CamelOpQueue *op_queue;
gint pipe_client_fd;
gint pipe_server_fd;
GIOChannel *notify_source;
+ /* used for signal proxy */
+ GMutex *signal_data_mutex;
+ GCond *signal_data_cond;
+ PtProxySignaData signal_data;
} CamelFolderPtProxy;