Commit a82d3470 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #510825: PTHREAD_SCOPE_SYSTEM support for HP-UX

(pass non-null argument to pthread_create). 2.2.1 candidate.
parent 3356766a
This diff is collapsed.
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment