Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 23:04:41 -0400
From:      Pablo Mora <fbsd.hackers@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   problem handling POSIX thread on FreeBSD
Message-ID:  <a9e342b5050626200472f78ea5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
/* file: taller.c */

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

}

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

PTHREAD_SCOPE_SYSTEM fail on freebsd ?

help me please...=20

very thanks...

--=20
Concepci=F3n, Chile.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9e342b5050626200472f78ea5>