KTHREAD_PARKED
thread->flags |= KTHREAD_PARKED;
thread->flags &= ~KTHREAD_PARKED;
while ((thread->flags & KTHREAD_PARKED) == 0) {