apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/threadproc/win32 thread.c
Date Fri, 03 Aug 2001 00:31:43 GMT
bnicholes    01/08/02 17:31:43

  Modified:    threadproc/win32 thread.c
  Log:
  Added a stub for apr_thread_yield()
  
  Revision  Changes    Path
  1.35      +5 -0      apr/threadproc/win32/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/win32/thread.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- thread.c	2001/07/24 20:20:02	1.34
  +++ thread.c	2001/08/03 00:31:43	1.35
  @@ -173,6 +173,11 @@
       }
   }
   
  +APR_DECLARE(void) apr_thread_yield()
  +{
  +    SwitchToThread();
  +}
  +
   APR_DECLARE(apr_status_t) apr_thread_data_get(void **data, const char *key,
                                                apr_thread_t *thread)
   {
  
  
  

Mime
View raw message