summaryrefslogtreecommitdiffstats
path: root/src/libthread/Darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/Darwin.c')
-rw-r--r--src/libthread/Darwin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libthread/Darwin.c b/src/libthread/Darwin.c
new file mode 100644
index 00000000..fd260957
--- /dev/null
+++ b/src/libthread/Darwin.c
@@ -0,0 +1,5 @@
+int
+_schedfork(Proc *p)
+{
+ return ffork(RFMEM|RFNOWAIT, _schedinit, p);
+}