Threading the dispatcher