]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commit
forb: Add forb_executor_synchronize()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Feb 2011 15:24:16 +0000 (16:24 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Feb 2011 15:24:16 +0000 (16:24 +0100)
commitebc04c62ab6db6cc2426221a517e2077c3236aed
tree05601ccc26303f18c39757fe4d9c0cfe5d69fc53
parent7c4d61cf690840c34579c2b84b90a331c133bd9c
forb: Add forb_executor_synchronize()

This is used to wait for executors to finish processing ongoing requests
during FORB termination. This ensures that all peer sockets are closed
and wvtest does not complain about open file descriptors at the end of
tests.
src/forb/src/executor.c
src/forb/src/executor.h