You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ian Holsman <ia...@cnet.com> on 2001/07/05 04:21:12 UTC
[PATCH] Win32 doesn't specify apr_os_thread_current
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)
{