[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Pthreads detection (ITS#587)
At 08:25 AM 6/10/00 GMT, sascha@schumann.cx wrote:
> I'm involved with the Apache 2.0 and PHP projects which both
> need to detect Pthreads in a portable way. I noticed that the
> OpenLDAP project also uses threads and that it has its own
> way of detecting the platform-dependent options.
>
> Our effort aims at sharing our knowledge about how Pthreads
> can be found and activated on various platforms. That is why
> we have encapsulated the Pthreads detection autoconf code. We
> currently support these systems:
>
> -kthread gcc (FreeBSD)
> -Kthread UDK cc (UnixWare)
> -mt WorkShop cc (Solaris)
> -mthreads gcc (AIX)
> -pthread gcc (Linux, FreeBSD, NetBSD, OpenBSD)
> -pthreads gcc (Solaris)
> -qthreaded AIX cc V5
> -threads gcc (HP-UX)
>
> The autoconf code is easy to integrate into other build
> systems. Let me know, if you are interested in this stuff.
Improvements to our configure script (which is autoconf
based) are welcomed. Please redirect discussion on this
issue to our developer forum.