Subject: [PATCH threads.xs] no system scope on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
3EC8573F.6050005@mac.com>
but instead go for #ifdef PTHREAD_SCOPE_SYSTEM.
p4raw-id: //depot/perl@19560
#ifdef OLD_PTHREADS_API
pthread_create( &thread->thr, attr, Perl_ithread_run, (void *)thread);
#else
+# ifdef PTHREAD_SCOPE_SYSTEM
pthread_attr_setscope( &attr, PTHREAD_SCOPE_SYSTEM );
+# endif
pthread_create( &thread->thr, &attr, Perl_ithread_run, (void *)thread);
#endif
}