thread_pool: create end-of-work notification primitives
thread_pool: create end-of-work notification primitives

This is used in contexts where some threads need to synchronize on the
pool, as e.g. tests

orocos-toolchain/utilrb-ext,orocos-toolchain/utilrb-ext