* threads.c (scm_mutex_lock, scm_cond_wait, scm_cond_timedwait):
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 9 Dec 2002 19:27:44 +0000 (19:27 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 9 Dec 2002 19:27:44 +0000 (19:27 +0000)
Removed accidental #if 0 around these functions.

libguile/ChangeLog
libguile/threads.c

index 8d96c60..0db4632 100644 (file)
@@ -1,5 +1,8 @@
 2002-12-09  Mikael Djurfeldt  <djurfeldt@nada.kth.se>
 
+       * 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
index 4e3c913..99c957d 100644 (file)
@@ -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 ()