On 1/23/07, David Jones <[EMAIL PROTECTED]> wrote:
Yes, +1On 1/16/07, Jeff Trawick <[EMAIL PROTECTED]> wrote: > We shouldn't be defining PTHREAD_ symbols for applications. For APR, > the application passes in zero or non-zero. > > How about changing thread.c as follows? > > #if defined(PTHREAD_CREATE_DETACHED) > #define DETACH_ARG(v) ((v) ? PTHREAD_CREATE_DETACHED : PTHREAD_CREATE_JOINABLE) > #else > #define DETACH_ARG(v) ((v) ? 1 : 0) > #endif >
committed to apr trunk and 1.2.x branch thanks!
