>OK.
>I'm also waiting Jean-Jaques Clar for a Netware threading patch.
Here you go.
NetWare has now a pthreads library.
Thank you for your help and patience Mladen.
It has been running on a 4 CPUS box for now over an hour.
As far as performance, I will benchmark it against 1.2.6
after the holidays break.
Attached is the jk_mt.h patched file and the patch.
 
Gunter and Norm,
If you have a chance would you please build and run the
new mod_jk.
Thanks,
 
Index: jk/native/common/jk_mt.h
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-connectors/jk/native/common/jk_mt.h,v
retrieving revision 1.11
diff -u -r1.11 jk_mt.h
--- jk/native/common/jk_mt.h 2 Dec 2004 06:50:01 -0000 1.11
+++ jk/native/common/jk_mt.h 23 Dec 2004 18:57:35 -0000
@@ -28,11 +28,6 @@
 
 #if defined(WIN32)
 #define jk_gettid()    ((int)GetCurrentThreadId())
-#elif defined(NETWARE)
-#define jk_gettid()    ((int)GetThreadID())
-#if !defined(__NOVELL_LIBC__)
-#define getpid()       ((int)GetThreadGroupID())
-#endif /* __NOVELL_LIBC__ */
 #endif
 
 
@@ -40,7 +35,7 @@
  * All WIN32 code is MT, UNIX code that uses pthreads is marked by the POSIX
  * _REENTRANT define.
  */
-#if defined (WIN32) || defined(_REENTRANT)
+#if defined (WIN32) || defined(_REENTRANT) || defined (NETWARE)
 
     /*
      * Marks execution under MT compilation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to