]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Thread pool: remove thread ready signal
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 7 Apr 2021 20:11:44 +0000 (15:11 -0500)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 7 Apr 2021 20:16:02 +0000 (15:16 -0500)
commitfc0b9ca1ce33141df9b0c7c2dc3c99f85d7bc800
treecc20d852ebd717dd7e9bcf9b3534af566cd55d52
parent080243b6f5fa931d06339e859e8440536e0c45f6
Thread pool: remove thread ready signal

It seems the workers were sending the "ready" signal before the
parent thread started to wait for it. This lead to timeouts.

The parent thread doesn't really need to wait for the worker
threads to carry on with its own work, so I've decided to remove
the check.

Progress on #49.
src/thread/thread_pool.c