Re: [PATCH] threadproc/unix/thread.c compile failure

2007-11-16 Thread David Jones
we surrender! Replacing all the zos pthread defines (PTHREAD_ATTR_SETDETACHSTATE_ARG2_ADDR, PTHREAD_SETS_ERRNO, PTHREAD_DETACH_ARG1_ADDR and the proposed PTHREAD_YIELD_HAS_NULL_ARG) with the single HAVE_ZOS_PTHREADS. Separated into 3 patches: zos_pthreads.apr12x.patch replaces all zos pthread

Re: [PATCH] threadproc/unix/thread.c compile failure

2007-11-15 Thread Joe Orton
On Wed, Nov 14, 2007 at 11:02:22AM -0500, David Jones wrote: in trunk Revision 418351 introduced a pthread_yield() call, on zOS, however pthread_yield has to be passed in a null arg, i.e. pthread_yield(NULL) I've added further checking to 418351's patch to do a APR_TRY_COMPILE_NO_WARNING, to

[PATCH] threadproc/unix/thread.c compile failure

2007-11-14 Thread David Jones
in trunk Revision 418351 introduced a pthread_yield() call, on zOS, however pthread_yield has to be passed in a null arg, i.e. pthread_yield(NULL) I've added further checking to 418351's patch to do a APR_TRY_COMPILE_NO_WARNING, to see if pthread_yield needs be called with () or (NULL) args.