[issue990] lang/python21 problem

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri May 9 02:17:21 PDT 2008


Hasso Tepper wrote:
#include <pthread.h>

void *foo(void *parm) { return NULL; }

int main() {
        pthread_create(NULL, NULL, foo, NULL);
        return 0;
}
Python's fault.  This example crashes on linux as well, so even the 
biggest precedent doesn't allow passing NULL.

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Bugs mailing list