diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-02-24 16:05:05 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-02-24 16:05:05 (GMT) |
commit | a82d3470ec74997947bbd81a894825082ed0b2d1 (patch) | |
tree | 8eda1ac32a6f90c67185917b56fab58f9931a558 /configure.in | |
parent | 3356766abfbdec49e671e0e16778139fd9b0c490 (diff) | |
download | cpython-a82d3470ec74997947bbd81a894825082ed0b2d1.zip cpython-a82d3470ec74997947bbd81a894825082ed0b2d1.tar.gz cpython-a82d3470ec74997947bbd81a894825082ed0b2d1.tar.bz2 |
Patch #510825: PTHREAD_SCOPE_SYSTEM support for HP-UX
(pass non-null argument to pthread_create). 2.2.1 candidate.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index bb7a28d..d64174f 100644 --- a/configure.in +++ b/configure.in @@ -1109,9 +1109,10 @@ pthread_create (NULL, NULL, start_routine, NULL)], [ } main() { pthread_attr_t attr; + pthread_t id; if (pthread_attr_init(&attr)) exit(-1); if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1); - if (pthread_create(NULL, &attr, foo, NULL)) exit(-1); + if (pthread_create(&id, &attr, foo, NULL)) exit(-1); exit(0); }], ac_cv_pthread_system_supported=yes, |