I am looking for a way of suspending & resuming a thread that is presented as a std::thread
without using platform provided API, such as SuspendThread
& ResumeThread
on Windows. Note, the thread should only be suspended and resumed by other thread.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…