From 87f84c22a871161adb52abdf9fe3bef01a601f3b Mon Sep 17 00:00:00 2001 From: bertrand Date: Mon, 20 Sep 1999 23:15:47 +0000 Subject: Signal proxying implemenatation. (_signal_marshaller_server_side): 1999-09-21 bertrand * 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 --- camel/camel-folder-pt-proxy.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'camel/camel-folder-pt-proxy.h') 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 @@ -37,18 +37,26 @@ #define CAMEL_FOLDER_PT_PROXY_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), CAMEL_FOLDER_PT_PROXY_TYPE, CamelFolderPtProxyClass)) #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; -- cgit