summaryrefslogtreecommitdiffstats
path: root/src/lib9/ffork-Linux.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-09-17 00:38:29 +0000
committerrsc <devnull@localhost>2004-09-17 00:38:29 +0000
commit06bb4ed20d855b60e39c1125d8d715ba8892265b (patch)
tree8294b537f5b81809671985903e31c4835c41cd04 /src/lib9/ffork-Linux.c
parent984e353160593b20d1e2944e1f2e9ce2117c8490 (diff)
downloadplan9port-06bb4ed20d855b60e39c1125d8d715ba8892265b.tar.gz
plan9port-06bb4ed20d855b60e39c1125d8d715ba8892265b.zip
Rewrite to remove dependence on rendezvous and its bizarre
data structures. Makes it easier to use pthreads too. Still need to add code for non-pthreads systems. Just a checkpoint to switch work to another machine.
Diffstat (limited to 'src/lib9/ffork-Linux.c')
-rw-r--r--src/lib9/ffork-Linux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib9/ffork-Linux.c b/src/lib9/ffork-Linux.c
index f4704c60..4f976359 100644
--- a/src/lib9/ffork-Linux.c
+++ b/src/lib9/ffork-Linux.c
@@ -1,3 +1,6 @@
+#include "ffork-pthread.c"
+
+#ifdef OLD
/*
* Is nothing simple?
*
@@ -191,3 +194,4 @@ getfforkid(void)
return getpid();
}
+#endif