]> rtime.felk.cvut.cz Git - frescor/forb.git/commitdiff
forb: Fix deadlock in executor
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 19 Feb 2011 22:57:48 +0000 (23:57 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 19 Feb 2011 22:57:48 +0000 (23:57 +0100)
The first iteration of executor loop waited for the request without
actually checking that there is no request in the queue. Therefore,
when the client sent the request before the executor called
fosa_cond_wait()  for the first time, the executor blocked indefinitely.


No differences found