problem handling POSIX thread on FreeBSD

Pablo Mora fbsd.hackers at gmail.com
Mon Jun 27 03:04:44 GMT 2005


/* 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.


More information about the freebsd-hackers mailing list