projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1707ea1
)
No recursion needed: use WITH-THREAD-MUTEX-LOCK.
author
Taylor R Campbell
<campbell@mumble.net>
Tue, 9 Jun 2015 04:22:07 +0000
(
04:22
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Tue, 9 Jun 2015 04:22:07 +0000
(
04:22
+0000)
src/runtime/thread-barrier.scm
patch
|
blob
|
history
diff --git
a/src/runtime/thread-barrier.scm
b/src/runtime/thread-barrier.scm
index 01e64f874cf5cc02c7d654b40a396393d8dd9fd9..d1de948d002f22828440554501147ceda6b08ffc 100644
(file)
--- a/
src/runtime/thread-barrier.scm
+++ b/
src/runtime/thread-barrier.scm
@@
-52,7
+52,7
@@
USA.
(guarantee-thread-barrier barrier 'THREAD-BARRIER-WAIT)
(let ((lock (thread-barrier.lock barrier))
(condvar (thread-barrier.condvar barrier)))
- (with-thread-mutex-lock
ed
lock
+ (with-thread-mutex-lock lock
(lambda ()
(let ((count (thread-barrier.count barrier))
(current (thread-barrier.current barrier))