fix non-tail loop in GL lock manager thread

The non-tail loop would cause the gears example to grandually
slow down, for example.
This commit is contained in:
Matthew Flatt 2011-11-03 10:06:22 -06:00
parent b7541c5d1b
commit 9bd0486ca0

View File

@ -34,8 +34,7 @@
(lambda (v) (loop)))
(handle-evt
(channel-put-evt lock-holder-ch t)
(lambda (v) (waiting-loop)))))
(loop))))
(lambda (v) (waiting-loop))))))))
(handle-evt
(channel-put-evt lock-holder-ch #f)
(lambda (v) (loop))))))