pkgsrc/devel/mit-pthreads/patches/patch-ca
mycroft 22a7b492a1 Disable the fork_lock hack. Programs want to be able to fork themselves
before firing up pthreads (e.g. to background).
2000-01-10 19:59:15 +00:00

12 lines
331 B
Text

$NetBSD: patch-ca,v 1.1 2000/01/10 19:59:15 mycroft Exp $
--- pthreads/process.c.orig Thu Jan 6 12:34:18 2000
+++ pthreads/process.c Thu Jan 6 13:49:00 2000
@@ -66,7 +66,7 @@
} else { /* Child */
machdep_unset_thread_timer(NULL);
machdep_stop_timer(NULL);
- fork_lock++;
+ pthread_sched_resume();
}
return(ret);
}