Scheme_Object * scheme_spawn(Scheme_Object *expr)
Creates a new process with a new global address space. The new process begins evaluating the S-expression expr.
Scheme_Object * scheme_thread(Scheme_Object *thunk)
Creates a new process that shares the global address space of the current process. The new process begins evaluating the application of the procedure thunk (with no arguments).
void scheme_process_block(int sleep_time)
Swaps out the current process in favor of other processes. If sleep_time is not 0, then this process will sleep for at least sleep_time seconds.
void scheme_swap_process(Scheme_Process *process)
Swaps out the current process in favor of process.
void scheme_check_threads()
This function is periodically called by the embedding program to give background processes time to execute. See section 3.10.2 for more information.
void scheme_wake_up()
This function is called by the embedding program when there is input on an external file descriptor. See section 3.10.3 for more information.