mturk       2004/12/24 00:04:29

  Modified:    jk/native/common jk_mt.h
  Log:
  Use pthreads on Netware. Thanks Jean-Jaques for patch and Norm for testing.
  
  Revision  Changes    Path
  1.12      +2 -7      jakarta-tomcat-connectors/jk/native/common/jk_mt.h
  
  Index: jk_mt.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_mt.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- jk_mt.h   2 Dec 2004 06:50:01 -0000       1.11
  +++ jk_mt.h   24 Dec 2004 08:04:29 -0000      1.12
  @@ -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