kernel thread example