Re: scm_mutex_lock and scm_mutex_unlock

2005-10-24 Thread Marius Vollmer
Michael Tuexen <[EMAIL PROTECTED]> writes: > I tried the old version with --without-threads and it worked. Ok! > How can I try the new version? the guile-core-unstable.tar.gz > is still the old version... You can wait for the snapshots to catch up (should happen in a day or so), or you can chec

Re: scm_mutex_lock and scm_mutex_unlock

2005-10-24 Thread Marius Vollmer
Michael Tuexen <[EMAIL PROTECTED]> writes: > eval.c:2658: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' > undeclared here (not in a function) > > Any idea, how to fix that? I'm trying to compile it on Mac OS X 10.3.9. Hmm. PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP seems not to be portable enough

Re: scm_mutex_lock and scm_mutex_unlock

2005-10-24 Thread Michael Tuexen
Hallo, I tried the old version with --without-threads and it worked. How can I try the new version? the guile-core-unstable.tar.gz is still the old version... Best regards Michael On Oct 23, 2005, at 23:15 Uhr, Marius Vollmer wrote: Michael Tuexen <[EMAIL PROTECTED]> writes: I guess the mos

Re: scm_mutex_lock and scm_mutex_unlock

2005-10-23 Thread Marius Vollmer
Michael Tuexen <[EMAIL PROTECTED]> writes: >> I guess the most portable way to get recursive mutexes is to use >> pthread_mutex_init together with pthread_mutexattr_settype with >> PTHREAD_MUTEX_RECURSIVE, which is defined in UNIX98. > > That sounds good. PTHREAD_MUTEX_RECURSIVE is defined on my s

Re: scm_mutex_lock and scm_mutex_unlock

2005-10-23 Thread Michael Tuexen
Hi Marius, see my comments in-line. Best regards Michael On Oct 23, 2005, at 22:13 Uhr, Marius Vollmer wrote: Michael Tuexen <[EMAIL PROTECTED]> writes: eval.c:2658: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function) Any idea, how to fix that? I'm trying t

Re: scm_mutex_lock and scm_mutex_unlock

2005-10-23 Thread Marius Vollmer
Michael Tuexen <[EMAIL PROTECTED]> writes: > I'm trying to compile guile-1.7.2 on Mac OS X 10.3.9. The compilation > breaks because scm_mutex_lock and scm_mutex_unlock are used in > libguile/arbiters.c but the compiler and I can not find a definition > of those functions. Where are they defined?

Re: scm_mutex_lock and scm_mutex_unlock

2005-10-23 Thread Michael Tuexen
Hi Marius, thanks, that works. It now stops at eval.c:2658: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function) Any idea, how to fix that? I'm trying to compile it on Mac OS X 10.3.9. Best regards Michael On Oct 23, 2005, at 14:28 Uhr, Marius Vollmer wrote: