From f979e2c60d6cfe01d4d5e63096735fe20d510838 Mon Sep 17 00:00:00 2001 From: Stas Boukarev Date: Mon, 30 Sep 2024 22:27:05 +0300 Subject: Unexport sb-posix:posix-fork. sb-posix:fork is the interface, calling fork() directly will just crash with multiple threads. --- contrib/sb-posix/interface.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sb-posix/interface.lisp b/contrib/sb-posix/interface.lisp index 0e6da5440..a56b19761 100644 --- a/contrib/sb-posix/interface.lisp +++ b/contrib/sb-posix/interface.lisp @@ -356,7 +356,7 @@ ;; FIXME this is a lie, of course this can fail, but there's no ;; error handling here yet! - (define-call ("posix_fork" :c-name "fork") pid-t minusp) + (define-call-internally posix-fork "fork" pid-t minusp) (defun fork () "Forks the current process, returning 0 in the new process and the PID of the child process in the parent. Forking while multiple threads are running is -- cgit v1.2.3-70-g09d2