[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mutex-lock!

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


> 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.