Various tweaks to make things run on Mac OS.

The main change is the use of pthread to implement ffork.
This commit is contained in:
rsc 2003-10-01 02:50:57 +00:00
parent e182749a98
commit a995e477ff
12 changed files with 84 additions and 12 deletions

View file

@ -31,3 +31,9 @@ _spinlock(spinlock_t *lk)
lock((Lock*)&lk->access_lock);
}
int
getfforkid(void)
{
return getpid();
}