I made a mistake when I created the commit. It uses a change that is not committed. I'm working to push urgently that missing part. Sorry about that and thank you for reporting.
You can avoid or revert the commit if you want. But if you revert the commit on AGL it may collide with the fix that I have to push . This is a commit that I forgave to rebase.
Interaction between pthread_cond_wait, pthread_broadcast and signal may lead to lock when the child of afb-daemon dies.