diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2002-12-16 21:02:37 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 2002-12-16 21:02:37 +0000 |
commit | dad981029a145d7a8854124a558d66a68675ce1f (patch) | |
tree | e080b81fd67d096cc8b69c9e1b7fc5130ebc8f58 /libguile/pthread-threads.c | |
parent | 6da2dfc4e03d9aa842eadb5048bfc601f5aac23c (diff) | |
download | guile-dad981029a145d7a8854124a558d66a68675ce1f.tar.gz |
Fix...
Diffstat (limited to 'libguile/pthread-threads.c')
-rw-r--r-- | libguile/pthread-threads.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/pthread-threads.c b/libguile/pthread-threads.c index 8aa0e6fca..1e456e788 100644 --- a/libguile/pthread-threads.c +++ b/libguile/pthread-threads.c @@ -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 |