Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 89833 invoked by uid 500); 5 Jul 2001 02:20:16 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 89822 invoked from network); 5 Jul 2001 02:20:15 -0000 Message-ID: <3B43CF18.8060803@cnet.com> Date: Wed, 04 Jul 2001 19:21:12 -0700 From: Ian Holsman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2+) Gecko/20010704 X-Accept-Language: en-us MIME-Version: 1.0 To: dev@apr.apache.org Subject: [PATCH] Win32 doesn't specify apr_os_thread_current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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) {