[issue990] lang/python21 problem

Hasso Tepper sinknull at crater.dragonflybsd.org
Fri May 9 01:42:49 PDT 2008


Hasso Tepper <hasso at estpak.ee> 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 <bugs at lists.dragonflybsd.org>
<https://bugs.dragonflybsd.org/issue990>
_____________________________________________________





More information about the Bugs mailing list