Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
方法: スレッド プール タスク キューの作成
void CreatingTaskQueue() { XTaskQueueHandle queue; HRESULT hr = XTaskQueueCreate( XTaskQueueDispatchMode::ThreadPool, XTaskQueueDispatchMode::ThreadPool, &queue); if (FAILED(hr)) { printf("Creating queue failed: 0x%x\r\n", hr); return; } SubmitCallbacks(queue); // Wait a while for the callbacks to run. Sleep(1000); XTaskQueueTerminate(queue, true, nullptr, nullptr); }
Worker invoked on thread 11440. Cancel? 0. Completion invoked on thread 11440. Cancel? 0.
関連トピック
このページは役に立ちましたか?