Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 87370 invoked by uid 500); 3 Aug 2001 02:46:13 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 87359 invoked from network); 3 Aug 2001 02:46:13 -0000 Message-ID: <3B6A108E.2090802@cnet.com> Date: Thu, 02 Aug 2001 19:46:38 -0700 From: Ian Holsman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2+) Gecko/20010728 X-Accept-Language: en-us MIME-Version: 1.0 To: dev@apr.apache.org CC: apr-cvs@apache.org Subject: Re: cvs commit: apr/threadproc/unix thread.c References: <20010803003132.38777.qmail@icarus.apache.org> 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 just a note for the person wanting to implement this in unix. in linux .. pthread_yield would be OK. in solaris thr_yield should be used (as pthread_yield isn't defined, and posix threads are implemented onto of LWP threads ) Justin/Aaron ??? bnicholes@apache.org wrote: >bnicholes 01/08/02 17:31:32 > > Modified: threadproc/unix thread.c > Log: > Added a stub for apr_thread_yield() > > Revision Changes Path > 1.44 +4 -0 apr/threadproc/unix/thread.c > > Index: thread.c > =================================================================== > RCS file: /home/cvs/apr/threadproc/unix/thread.c,v > retrieving revision 1.43 > retrieving revision 1.44 > diff -u -r1.43 -r1.44 > --- thread.c 2001/08/01 16:54:58 1.43 > +++ thread.c 2001/08/03 00:31:32 1.44 > @@ -219,6 +219,10 @@ > } > } > > +void apr_thread_yield() > +{ > +} > + > apr_status_t apr_thread_data_get(void **data, const char *key, apr_thread_t *thread) > { > return apr_pool_userdata_get(data, key, thread->cntxt); > > > >