Re: [PATCH] NetWare threading using pthreads

2004-12-23 Thread NormW
Jean-Jacques Clar wrote:
 >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 - 1.11
+++ jk/native/common/jk_mt.h 23 Dec 2004 18:57:35 -
@@ -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]
Good morning All,
Successfully built Mod_Jk with this patch against the latest Apache2.1. 
Loads on NW6 sp5 with eDir 8.6.2 and Sept LibC, can access TC and 
NetWare apps without issue.

Norm
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[PATCH] NetWare threading using pthreads

2004-12-23 Thread Jean-Jacques Clar


>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,vretrieving revision 1.11diff -u -r1.11 jk_mt.h--- jk/native/common/jk_mt.h 2 Dec 2004 06:50:01 - 1.11+++ jk/native/common/jk_mt.h 23 Dec 2004 18:57:35 -@@ -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]