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

Method ~ThreadPool

mlx/threadpool.h:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93inline ThreadPool::~ThreadPool() {
94 stop_and_wait();
95}
96
97inline void ThreadPool::stop_and_wait() {
98 // Stop the current threads and wait until they finish

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected