mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +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)))))))
|
(else v)))))))
|
||||||
|
|
||||||
;; MUTEXES
|
;; MUTEXES
|
||||||
;; These functions are all pass-thrus to the existing Guile implementations.
|
|
||||||
|
|
||||||
(define* (make-mutex #:optional name)
|
(define* (make-mutex #:optional name)
|
||||||
(%make-mutex (threads:make-mutex 'unchecked-unlock
|
(%make-mutex (threads:make-mutex 'allow-external-unlock) name #f #f #f))
|
||||||
'allow-external-unlock
|
|
||||||
'recursive)
|
|
||||||
name
|
|
||||||
#f
|
|
||||||
#f
|
|
||||||
#f))
|
|
||||||
|
|
||||||
(define (mutex-state mutex)
|
(define (mutex-state mutex)
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue