commit | a995e477ffb4dd1184da87e9e46a9e57f3178c63 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Wed Oct 01 02:50:57 2003 +0000 |
committer | rsc <devnull@localhost> | Wed Oct 01 02:50:57 2003 +0000 |
tree | 5b2260becdfb1aaf8b67fd91223b7d214b7e9451 | |
parent | e182749a982e415fba755bc1035c35da5c4fe606 [diff] [blame] |
Various tweaks to make things run on Mac OS. The main change is the use of pthread to implement ffork.
diff --git a/src/lib9/ffork-FreeBSD.c b/src/lib9/ffork-FreeBSD.c index a7c82e6..3829bb2 100644 --- a/src/lib9/ffork-FreeBSD.c +++ b/src/lib9/ffork-FreeBSD.c
@@ -31,3 +31,9 @@ lock((Lock*)&lk->access_lock); } +int +getfforkid(void) +{ + return getpid(); +} +