tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r559349 - /tomcat/connectors/trunk/jk/native/common/jk_util.c
Date Wed, 25 Jul 2007 08:22:05 GMT
Author: rjung
Date: Wed Jul 25 01:22:03 2007
New Revision: 559349

URL: http://svn.apache.org/viewvc?view=rev&rev=559349
Log:
Fix syntax error is iSeries specific part.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_util.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_util.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_util.c?view=diff&rev=559349&r1=559348&r2=559349
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_util.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_util.c Wed Jul 25 01:22:03 2007
@@ -1825,10 +1825,13 @@
         pthread_t tid;
         jk_uint64_t alignme;
     } u;
-    u.tid = pthread_self();
 #ifdef AS400
-    /* OS400 use 64 bits ThreadId, get only low 32 bits for now */
+    /* OS400 use 64 bits ThreadId */
     pthread_id_np_t       tid;
+#endif /* AS400 */
+    u.tid = pthread_self();
+#ifdef AS400
+    /* Get only low 32 bits for now */
     pthread_getunique_np(&(u.tid), &tid);
     return ((jk_uint32_t)(tid.intId.lo & 0xFFFFFFFF));
 #else



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message