Allow #f as timeout argument to unlock-mutex and SRFI-18 mutex-unlock!
authorMark H Weaver <mhw@netris.org>
Mon, 10 Jun 2013 06:05:17 +0000 (02:05 -0400)
committerMark H Weaver <mhw@netris.org>
Mon, 10 Jun 2013 06:34:21 +0000 (02:34 -0400)
commit2a1d8403c07704a40279e58373e6605e0c1f6dd7
treee8c85b3e823489508c3fe8adfbf1c31a26a085fb
parent8b12a34c8f13d9b2917ffbecc5d59151e5d38a5b
Allow #f as timeout argument to unlock-mutex and SRFI-18 mutex-unlock!

Reported by Chaos Eternal <chaoseternal@shlug.org>
Based on a patch by Nala Ginrut <nalaginrut@gmail.com>

* libguile/threads.c (scm_unlock_mutex_timed): If 'timeout' argument
  is false, interpret that as no timeout.

* doc/ref/api-scheduling.texi (Mutexes and Condition Variables):
  Update documentation.
doc/ref/api-scheduling.texi
libguile/threads.c