You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Call this to start a task on the task pool. Note that task-specific data must be set up before calling this.
voidspin_up_threaded_task(WorkerThreadTask task);
//This _must_ be called on the main thread BEFORE a task completes on a thread of the task pool.
voidspin_down_threaded_task();
//This should be called AFTER the command to finish a given task is given. This will block until all threads have returned into a state where they are able to listen to new commands.