diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 8d96c60bc..0db4632f5 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,5 +1,8 @@ 2002-12-09 Mikael Djurfeldt + * threads.c (scm_mutex_lock, scm_cond_wait, scm_cond_timedwait): + Removed accidental #if 0 around these functions. + These changes are the start of support for preemptive multithreading. Marius and I have agreed that I commit this code into the repository although it isn't thoroughly tested and surely diff --git a/libguile/threads.c b/libguile/threads.c index 4e3c9132b..99c957d3e 100644 --- a/libguile/threads.c +++ b/libguile/threads.c @@ -1051,7 +1051,6 @@ scm_spawn_thread (scm_t_catch_body body, void *body_data, return create_thread (body, body_data, handler, handler_data, SCM_BOOL_F); } -#if 0 int scm_mutex_lock (scm_t_mutex *m) { @@ -1078,7 +1077,6 @@ scm_cond_timedwait (scm_t_cond *c, scm_t_mutex *m) scm_i_enter_guile (t); return res; } -#endif void scm_enter_guile ()