summaryrefslogtreecommitdiff
path: root/libguile/threads.h
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1998-01-23 20:51:47 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1998-01-23 20:51:47 +0000
commitdf366c2615effef0b8082cc4f59784f0a41e46c5 (patch)
tree6da5b1bf4388a5a4ecf3378323b8924038fc87b0 /libguile/threads.h
parent171422a94adf5d8f95c3e9aae95e2fe7ce740bec (diff)
downloadguile-df366c2615effef0b8082cc4f59784f0a41e46c5.tar.gz
* coop-threads.c, threads.h (scm_spawn_thread): New function.
Can spawn a thread from application C code.
Diffstat (limited to 'libguile/threads.h')
-rw-r--r--libguile/threads.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libguile/threads.h b/libguile/threads.h
index 0c23293b2..344d305a3 100644
--- a/libguile/threads.h
+++ b/libguile/threads.h
@@ -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