Issue 587 - Pthreads detection
Summary: Pthreads detection
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-06-10 08:25 UTC by Sascha Schumann
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Sascha Schumann 2000-06-10 08:25:06 UTC
    Hi,

    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.
    
    - Sascha

Comment 1 Kurt Zeilenga 2000-06-10 09:11:12 UTC
changed notes
changed state Open to Closed
Comment 2 Kurt Zeilenga 2000-06-10 15:45:22 UTC
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.


Comment 3 OpenLDAP project 2014-08-01 21:06:11 UTC
devel issue