apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@ebuilt.com>
Subject Re: cvs commit: apr/threadproc/unix thread.c
Date Fri, 03 Aug 2001 03:20:20 GMT
That sounds good to me. I'd submit a patch, but I have no idea how we'd
do Solaris vs. Linux detection with APR's preprocessor stuff.  is there
a CPP symbol that we could use for this, or do we have to make one up?

-aaron


On Thu, Aug 02, 2001 at 07:46:38PM -0700, Ian Holsman wrote:
> 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);
> >  
> >  
> >  
> >
> 
> 


Mime
View raw message