mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
* coop-threads.c, threads.h (scm_spawn_thread): New function.
Can spawn a thread from application C code.
This commit is contained in:
parent
171422a94a
commit
df366c2615
4 changed files with 105 additions and 9 deletions
|
@ -73,6 +73,9 @@ SCM scm_threads_lock_mutex SCM_P ((SCM));
|
|||
SCM scm_threads_unlock_mutex SCM_P ((SCM));
|
||||
SCM scm_threads_monitor SCM_P ((void));
|
||||
|
||||
SCM scm_spawn_thread (scm_catch_body_t body, void *body_data,
|
||||
scm_catch_handler_t handler, void *handler_data);
|
||||
|
||||
#if 0
|
||||
/* These don't work any more. */
|
||||
#ifdef USE_MIT_PTHREADS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue