mutex-lock! Mikael Djurfeldt (08 Apr 2000 15:00 UTC)
Re: mutex-lock! Marc Feeley (10 Apr 2000 21:04 UTC)

Re: mutex-lock! Marc Feeley 10 Apr 2000 21:04 UTC

> I'm wondering how to perform the equivalent of pthread_mutex_trylock.
>
> Would
>
>   (mutex-lock! m 0)
>
> do it?

Yes.

> If so, I think the SRFI document should be updated to reflect that an
> attempt is made to lock the mutex also if the timeout is 0.

I'll update the description of mutex-lock! to reflect this.

Marc