Next stage for globus signal handler fixes:
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 9 Jun 2011 13:13:49 +0000 (13:13 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 9 Jun 2011 13:13:49 +0000 (13:13 +0000)
- load globus common module only in edg_wll_initialize()
- use globus_poll_nonblocking() before checking signals in logger,
  new function in gss (needed for non-threaded globus flavour)
- warning fixes (type cast, 32/64 portability)
- document gss functions in code

org.glite.lb.logger/src/interlogd.c
org.glite.lb.logger/src/logd.c

index 24a64b4..90a03d0 100644 (file)
@@ -357,6 +357,7 @@ static void handle_signal(int num)
 
 
 void do_handle_signal() {
+       edg_wll_gss_poll_signal();
 
        if (received_signal == 0) return;
 
index b24b22d..7a1d4ca 100644 (file)
@@ -147,6 +147,7 @@ static void handle_signal(int num)
 }
 
 void do_handle_signal() {
+       edg_wll_gss_poll_signal();
 
        if (received_signal == 0) return;