feat(process): 使用 sleep/wakeup 机制实现阻塞式 wait