Wait functions, in both Windows and Linux, suspend the execution of the current process until it completes, but in Windows there is an option to exit by specifying a time value.
在 Windows 和 Linux 中,等待函数 会挂起当前进程的执行,直到它完成等待,不过,在 Windows 中可以选择在指定的时间后退出。
youdao