axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r499736 - in /webservices/axis2/trunk/c: modules/core/clientapi/svc_client.c util/src/platforms/unix/uuid_gen_unix.c
Date Thu, 25 Jan 2007 11:05:58 GMT
Author: samisa
Date: Thu Jan 25 03:05:53 2007
New Revision: 499736

URL: http://svn.apache.org/viewvc?view=rev&rev=499736
Log:
Fixed performance problems

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
    webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?view=diff&rev=499736&r1=499735&r2=499736
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Thu Jan 25 03:05:53 2007
@@ -1004,6 +1004,9 @@
                     svc_client_impl->options, env);
         AXIS2_LISTNER_MANAGER_MAKE_SURE_STARTED(svc_client_impl->listener_manager, env,
                 transport_in_protocol, svc_client_impl->conf_ctx);
+        /* Following sleep is required to ensure the listner is ready to receive response.
+           If it is missing, the response gets lost. - Samisa */
+        AXIS2_USLEEP(1);
 
         op = AXIS2_SVC_GET_OP_WITH_QNAME(svc_client_impl->svc, env,
                 op_qname);

Modified: webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c?view=diff&rev=499736&r1=499735&r2=499736
==============================================================================
--- webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c (original)
+++ webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c Thu Jan 25 03:05:53
2007
@@ -99,7 +99,10 @@
     /* sleep for 1000ns (1us) */
     tv.tv_sec  = 0;
     tv.tv_usec = 1;
-    select(0, NULL, NULL, NULL, &tv);
+    /*
+        The following select causes severe performance problems. 
+        Hence commenting out. I am not sure why this is required. - Samisa.    
+    select(0, NULL, NULL, NULL, &tv);*/
 
     time_val = (unsigned long long)time_now.tv_sec * 10000000ull;
     time_val += (unsigned long long)time_now.tv_usec * 10ull;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message