build: threads: Add worker thread specification

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>