apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: FreeBSD APR patch for threads
Date Fri, 02 Jul 2004 20:22:18 GMT

On Jul 2, 2004, at 12:43 PM, Craig Rodrigues wrote:
> I maintain the port for apr in the FreeBSD ports collection.
> The latest version of FreeBSD's implementation of threads is *MUCH*
> more stable than in earlier versions of FreeBSD.  To compile a program
> for threads, all you need to do is link with -lpthread.  -D_REENTRANT
> and -D_THREAD_SAFE are no longer needed and have been entirely removed
> from FreeBSD header files.

This is great news!

> I have been maintaining a variation of this patch which I would
> like to submit back to the APR repository.
> This patch basically does the following:
>  - for the latest versions of FreeBSD, puts in the correct flags for
>    linking in threads
>  - for older versions of FreeBSD, i.e FreeBSD 4.x, disables threads by
>    default (which is what APR does right now)

I'm +1 for this patch in concept, but I don't have a FreeBSD machine
with an osreldate recent enough to test this patch.

> I've been testing this patch for some time now.
> Would it be possible to go in for APR 1.0?

Well, let's get it into HEAD and get some feedback on it first.


View raw message