apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apr/threadproc/win32 thread.c
Date Fri, 06 Jul 2001 14:20:08 GMT
stoddard    01/07/06 07:20:07

  Modified:    threadproc/win32 thread.c
  Log:
  Win32: Add apr_os_thread_current()
  
  Submitted by:	Ian Holsman
  Reviewed by:	Bill Stoddard
  
  Revision  Changes    Path
  1.32      +5 -0      apr/threadproc/win32/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/win32/thread.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- thread.c	2001/04/11 02:01:23	1.31
  +++ thread.c	2001/07/06 14:20:03	1.32
  @@ -177,6 +177,11 @@
       return apr_pool_userdata_set(data, key, cleanup, thread->cntxt);
   }
   
  +APR_DECLARE(apr_os_thread_t) apr_os_thread_current(void)
  +{
  +    return GetCurrentThread();
  +}
  +
   APR_DECLARE(apr_status_t) apr_os_thread_get(apr_os_thread_t **thethd,
                                               apr_thread_t *thd)
   {
  
  
  

Mime
View raw message