mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
SRFI-18 mutexes are not recursive
* module/srfi/srfi-18.scm (make-mutex): Not recursive.
This commit is contained in:
parent
b197a6a5af
commit
b43f11469a
1 changed files with 1 additions and 8 deletions
|
@ -286,16 +286,9 @@
|
|||
(else v)))))))
|
||||
|
||||
;; MUTEXES
|
||||
;; These functions are all pass-thrus to the existing Guile implementations.
|
||||
|
||||
(define* (make-mutex #:optional name)
|
||||
(%make-mutex (threads:make-mutex 'unchecked-unlock
|
||||
'allow-external-unlock
|
||||
'recursive)
|
||||
name
|
||||
#f
|
||||
#f
|
||||
#f))
|
||||
(%make-mutex (threads:make-mutex 'allow-external-unlock) name #f #f #f))
|
||||
|
||||
(define (mutex-state mutex)
|
||||
(cond
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue