1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 05:50:26 +02:00
This commit is contained in:
Mikael Djurfeldt 2002-12-16 21:02:37 +00:00
parent 6da2dfc4e0
commit dad981029a

View file

@ -147,16 +147,16 @@ int
scm_i_plugin_cond_wait (scm_t_cond *c, scm_t_mutex *mx)
{
mutex *m = (mutex *) mx;
return pthread_cond_wait ((pthread_cond_t *) c, m->mutex);
return pthread_cond_wait ((pthread_cond_t *) c, &m->mutex);
}
int
scm_i_plugin_cond_wait (scm_t_cond *c,
scm_i_plugin_cond_timedwait (scm_t_cond *c,
scm_t_mutex *mx,
const struct timespec *t)
{
mutex *m = (mutex *) mx;
return pthread_cond_timedwait ((pthread_cond_t *) c, m->mutex, t);
return pthread_cond_timedwait ((pthread_cond_t *) c, &m->mutex, t);
}
#endif