diff options
author | mycroft <mycroft@pkgsrc.org> | 2000-01-10 19:59:15 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2000-01-10 19:59:15 +0000 |
commit | 22a7b492a1ecd07b722e03784a3e845035c26635 (patch) | |
tree | a33037b15a45de2775f99ddb4162c8f27bd5a83a | |
parent | 922d8f63e0f3b524349a550ece96d59484cdc725 (diff) | |
download | pkgsrc-22a7b492a1ecd07b722e03784a3e845035c26635.tar.gz |
Disable the fork_lock hack. Programs want to be able to fork themselves
before firing up pthreads (e.g. to background).
-rw-r--r-- | devel/mit-pthreads/patches/patch-ca | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/mit-pthreads/patches/patch-ca b/devel/mit-pthreads/patches/patch-ca new file mode 100644 index 00000000000..a363b77353f --- /dev/null +++ b/devel/mit-pthreads/patches/patch-ca @@ -0,0 +1,12 @@ +$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); + } |