tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_mt.h
Date Fri, 24 Dec 2004 08:04:29 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message