You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by st...@apache.org on 2001/07/06 16:20:08 UTC

cvs commit: apr/threadproc/win32 thread.c

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