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, 12 Nov 2004 10:56:04 GMT
mturk       2004/11/12 02:56:04

  Modified:    jk/native/common jk_mt.h
  Log:
  Add getpid for Netware without __NOVELL_LIBC__
  
  Revision  Changes    Path
  1.9       +5 -1      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- jk_mt.h	12 Nov 2004 07:46:48 -0000	1.8
  +++ jk_mt.h	12 Nov 2004 10:56:03 -0000	1.9
  @@ -30,7 +30,11 @@
   #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
  +
   
   /*
    * All WIN32 code is MT, UNIX code that uses pthreads is marked by the POSIX 
  
  
  

---------------------------------------------------------------------
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