mutex-lock! Mikael Djurfeldt 08 Apr 2000 14:56 UTC

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.