completed: kernel with N threads