MCPcopy Create free account
hub / github.com/ml-explore/mlx / ThreadPool

Method ThreadPool

mlx/threadpool.h:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53};
54
55inline ThreadPool::ThreadPool(size_t threads) : stop(false) {
56 start_threads(threads);
57}
58
59template <class F, class... Args>
60auto ThreadPool::enqueue(F&& f, Args&&... args)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected