Query:giop-main-loop-handle-input



Hello,

in "giop_main_loop_handle_input" invoking "giop_thread_queue_process", 
any reason why GIOPThread object is not set as argument, but NULL? This 
causes invocation of giop_thread_self() for every request:

giop_thread_queue_process (GIOPThread *tdata)
{
        GIOPMessageQueueEntry *ent;
        GIOPQueueEntry *qe = NULL;
        GList   *request;
        gboolean no_policy;
 
        if (!tdata)
                tdata = giop_thread_self ();

Best regards, Frank

? giop-main-loop-handle-input.diff
? src/orb/orb-core/bak.corba-orb.c
? src/orb/orb-core/bak.corba-object.c
? src/orb/poa/data
Index: src/orb/GIOP/giop.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/GIOP/giop.c,v
retrieving revision 1.44
diff -u -r1.44 giop.c
--- src/orb/GIOP/giop.c	31 Oct 2003 14:39:47 -0000	1.44
+++ src/orb/GIOP/giop.c	15 Nov 2003 20:41:17 -0000
@@ -447,7 +447,7 @@
 	LINK_MUTEX_LOCK (tdata->lock);
 	while (!giop_thread_queue_empty_T (tdata)) {
 		LINK_MUTEX_UNLOCK (tdata->lock);
-		giop_thread_queue_process (NULL);
+		giop_thread_queue_process (tdata);
 		LINK_MUTEX_LOCK (tdata->lock);
 	}
 	LINK_MUTEX_UNLOCK (tdata->lock);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]