Minor improvements in the new condvar test
commit9c4d2afaa5786107aa79728b4703296b9289bf0b
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 Jan 2017 14:13:30 +0000 (13 16:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 Jan 2017 14:13:30 +0000 (13 16:13 +0200)
tree343fdc17f15a6a5ad8ec940ce4abc34aa7cdb309
parent03e4ab0d586069be65e4a17fbf4cd965a9984726
Minor improvements in the new condvar test

* test/src/thread-tests.el (threads-test-condvar-wait): Use
with-mutex instead of emulating it inline.
(threads-condvar-wait): Improve comments.  Check that the new
thread is alive before waiting for it to become blocked on the
conditional variable.
test/src/thread-tests.el