mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-22 04:30:19 +02:00
* threads.c, threads.h (scm_cond_init): Undo unintentional API
change.
This commit is contained in:
parent
d2864c8adb
commit
e5a830847e
3 changed files with 7 additions and 2 deletions
|
@ -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>
|
2002-11-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
|
||||||
|
|
||||||
* coop.c (coop_next_runnable_thread): Removed, wich should have
|
* coop.c (coop_next_runnable_thread): Removed, wich should have
|
||||||
|
|
|
@ -203,7 +203,7 @@ scm_mutex_destroy (scm_t_mutex *m)
|
||||||
}
|
}
|
||||||
|
|
||||||
SCM_API int
|
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 ());
|
scm_gc_protect_object (c->c = scm_make_condition_variable ());
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -144,7 +144,7 @@ typedef struct {
|
||||||
SCM c;
|
SCM c;
|
||||||
} scm_t_cond;
|
} 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_wait (scm_t_cond *c, scm_t_mutex *m);
|
||||||
SCM_API int scm_cond_timedwait (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);
|
const struct timespec *abstime);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue