此方法會暫停執行緒。
當等待資源(如互斥或事件旗標)時,執行緒通常會封鎖,因此在產生的程式碼中,很少使用 suspend。您可以將 suspend 用於進階排程。
Public
void suspend();