Hasso Tepper <[EMAIL PROTECTED]> added the comment:
The problem is not the PTHREAD_SCOPE_SYSTEM or even attr, but the first
argument of the pthread_create() call. This trivial example runs fine:
#include <pthread.h>
void *foo(void *parm) { return NULL; }
int main() {
pthread_t thread;
pthread_create(&thread, NULL, foo, NULL);
return 0;
}
But this one doesn't:
#include <pthread.h>
void *foo(void *parm) { return NULL; }
int main() {
pthread_create(NULL, NULL, foo, NULL);
return 0;
}
----------
priority: -> bug
status: unread -> chatting
_____________________________________________________
DragonFly issue tracker <[EMAIL PROTECTED]>
<https://bugs.dragonflybsd.org/issue990>
_____________________________________________________