Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 14836 invoked by uid 6000); 21 Oct 1999 16:01:00 -0000 Received: (qmail 14534 invoked from network); 21 Oct 1999 16:00:49 -0000 Received: from silk.apana.org.au (root@202.12.87.81) by taz.hyperreal.org with SMTP; 21 Oct 1999 16:00:49 -0000 Received: from kheldar.apana.org.au (bjh@kheldar.apana.org.au [202.12.87.82]) by silk.apana.org.au (8.9.1/8.9.1) with SMTP id CAA29393 for ; Fri, 22 Oct 1999 02:00:19 +1000 Message-Id: <199910211600.CAA29393@silk.apana.org.au> From: "Brian Havard" To: "new-httpd@apache.org" Date: Fri, 22 Oct 1999 02:00:18 +1000 (EST) X-Mailer: PMMail 2.10.1999 for OS/2 Warp 4.00 In-Reply-To: <19991021143129.231.qmail@hyperreal.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: apache-2.0/src/lib/apr/threadproc/unix thread.c threadcancel.c threadpriv.c threadproc.h Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On 21 Oct 1999 14:31:29 -0000, rbb@hyperreal.org wrote: >rbb 99/10/21 07:31:29 > > Modified: src/lib/apr/include apr_portable.h > src/lib/apr/locks/unix intraproc.c locks.c locks.h > src/lib/apr/threadproc/unix thread.c threadcancel.c > threadpriv.c threadproc.h > Log: > Modify APR so that if we build without threads, we do not create no-op > functions. > > Revision Changes Path > 1.9 +13 -3 apache-2.0/src/lib/apr/include/apr_portable.h > > Index: apr_portable.h > =================================================================== > RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_portable.h,v > retrieving revision 1.8 > retrieving revision 1.9 > diff -u -r1.8 -r1.9 > --- apr_portable.h 1999/10/11 17:51:47 1.8 > +++ apr_portable.h 1999/10/21 14:31:19 1.9 [...] > +#if APR_HAS_THREADS && HAVE_PTHREAD_H > +ap_status_t ap_get_os_thread(ap_os_thread_t *, ap_thread_t *); > ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *, ap_key_t *); > +#endif Hang on, you can't use tests for pthreads outside of unix specific code. I think we need a bit more abstraction for the "do we have threads" test. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | brianh@kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------