- fork #!optional thunk continue-threads?procedure
- %fork #!optional thunk continue-threads?procedure
If thunk is provided and not #f, the child process will invoke the thunk and exit when it returns. If continue-threads is provided and #t, all existing threads will be kept alive in the child process; by default only the current thread will be kept alive.
fork returns a process object representing the child in the parent process. When thunk is not provided, #f is returned in the child process.
Currently %fork is just an alias for fork.