Rewrite the condition to wake-up the thread that locked the buffer. Also don't try...
commit74e2b10a30c95ea6701cf3054cfd530ddae4b30b
authorGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 19 Sep 2009 22:28:05 +0000 (20 00:28 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 19 Sep 2009 22:28:05 +0000 (20 00:28 +0200)
tree89d8c51d85da077cd9b79c38c5775397936bc6b5
parente5acacdcc1a5469256da6985353b35e0bab99693
Rewrite the condition to wake-up the thread that locked the buffer. Also don't try to schedule a new thread when this is not possible.
src/thread.c