void WakeUp() { if (!thread.IsInside()) event_pipe.Signal(); }
void WakeUp() { event_pipe.Signal(); }