problem handling POSIX thread on FreeBSD

From: Pablo Mora (fbsd.hackers_at_gmail.com)
Date: 06/27/05

  • Next message: Dominique SA: "Re: KMEM Problem With OIDENTD"
    Date: Sun, 26 Jun 2005 23:04:41 -0400
    To: freebsd-hackers@freebsd.org
    
    

    /* file: taller.c */

    int main() {
    ....
        if(pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM) != 0)
         /* handler */
    ....

    }

    $ gcc taller.c -pthread
    $ ./a.out
    pthread_attr_setscope: Unknown error: 0
    $

    PTHREAD_SCOPE_SYSTEM fail on freebsd ?

    help me please...

    very thanks...

    -- 
    Concepción, Chile.
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Dominique SA: "Re: KMEM Problem With OIDENTD"

    Relevant Pages

    • Whats default value of -ftemplate-depth in GCC 3.4.2?
      ... GCC has forgotten to make the change in the document. ... change the GCC 3.4.2's default in FreeBSD? ... I am working on the games/wesnoth update to 0.8.4 and it will fail build ... FreeBSD GNOME Team ...
      (freebsd-current)
    • Re: about the gcc 3.4.x problems
      ... >>ports tree back in April. ... There was a reason why gcc34 port was kept free of local FreeBSD hacks. ... GCC tarballs as distibuted by FSF and base system version of the compiler ...
      (freebsd-current)
    • Re: Mysql40-server installation problem
      ... > file, from the config.log file there was no erro from the gcc, only ... Thread model: posix ... On a working server running the exact same version of FreeBSD (and ... The problem server has cPanel installed, ...
      (freebsd-questions)
    • Re: Passing options to a make install clean
      ... >>I just put this amd64 system together this week after my old Intel ... Are you running an old FreeBSD ... > going to FreeBSD 5-Stable which has a nice up to date gcc as part of the ... > Thread model: posix ...
      (freebsd-questions)
    • Re: strange bit-shifting
      ... FreeBSD 6.2-RELEASE-p2 amd64 ... Configured with: FreeBSD/amd64 system compiler ... gcc version 3.4.6 20060305 ... # of the result is that of the promoted left operand. ...
      (freebsd-hackers)