apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@cnet.com>
Subject [PATCH] Win32 doesn't specify apr_os_thread_current
Date Thu, 05 Jul 2001 02:21:12 GMT
SMS uses it
The Win32 .DSP files are also missing 2 SMS's sms_block & sms_trivial, 
but my DSP's are different at the
moment, so I can't submit the patch for those .

..Ian
--
cvs server: Diffing .
Index: thread.c
===================================================================
RCS file: /home/cvspublic/apr/threadproc/win32/thread.c,v
retrieving revision 1.31
diff -u -b -r1.31 thread.c
--- thread.c    2001/04/11 02:01:23     1.31
+++ thread.c    2001/07/05 02:16:34
@@ -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