Kaydet (Commit) d61d2d2e authored tarafından Michael W. Hudson's avatar Michael W. Hudson

backport loewis' checkin of

    revision 1.283 of configure
    revision 1.292 of configure.in

Patch #510825: PTHREAD_SCOPE_SYSTEM support for HP-UX
(pass non-null argument to pthread_create). 2.2.1 candidate.
üst 0b2cb484
This diff is collapsed.
......@@ -1103,9 +1103,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