openbsd-ports/sysutils/dvd+rw-tools/patches/patch-mp_h
2008-02-07 01:53:23 +00:00

13 lines
497 B
Plaintext

$OpenBSD: patch-mp_h,v 1.1 2008/02/07 01:53:23 jakemsr Exp $
--- mp.h.orig Wed Feb 6 17:47:13 2008
+++ mp.h Wed Feb 6 17:48:11 2008
@@ -40,7 +40,7 @@ static void *__thread_create(int (*func)(void *),void
if (pthread_attr_init(&attr)==0 &&
pthread_attr_setstacksize(&attr,64*1024)==0 &&
- pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
+ pthread_attr_setscope(&attr,PTHREAD_SCOPE_PROCESS)==0 &&
pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )
return (void *)h;