EventLoop 及其線程模型

任務執行過程 如果調用線程與EventLoop所在的線程是同一線程,任務直接執行,否則會放入EventLoop的隊列中,下次執行。 「Never put a long-running task in the execution queue, because it will block any other task from executing on the same thread.」 If you
相關文章
相關標籤/搜索