1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-21 20:20:24 +02:00

* threads.c, threads.h (scm_cond_init): Undo unintentional API

change.
This commit is contained in:
Mikael Djurfeldt 2002-11-07 13:29:12 +00:00
parent d2864c8adb
commit e5a830847e
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-11-07 Mikael Djurfeldt <mdj@linnaeus>
* threads.c, threads.h (scm_cond_init): Undo unintentional API
change.
2002-11-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* coop.c (coop_next_runnable_thread): Removed, wich should have

View file

@ -203,7 +203,7 @@ scm_mutex_destroy (scm_t_mutex *m)
}
SCM_API int
scm_cond_init (scm_t_cond *c)
scm_cond_init (scm_t_cond *c, int *cattr)
{
scm_gc_protect_object (c->c = scm_make_condition_variable ());
return 0;

View file

@ -144,7 +144,7 @@ typedef struct {
SCM c;
} scm_t_cond;
SCM_API int scm_cond_init (scm_t_cond *c);
SCM_API int scm_cond_init (scm_t_cond *c, int *cattr);
SCM_API int scm_cond_wait (scm_t_cond *c, scm_t_mutex *m);
SCM_API int scm_cond_timedwait (scm_t_cond *c, scm_t_mutex *m,
const struct timespec *abstime);