mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
* threads.c (scm_mutex_lock, scm_cond_wait, scm_cond_timedwait):
Removed accidental #if 0 around these functions.
This commit is contained in:
parent
9bc4701cd3
commit
52340b651a
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue