MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / AsyncRun

Method AsyncRun

LibCarla/source/carla/ThreadPool.h:50–52  ·  view source on GitHub ↗

Launch threads to run tasks asynchronously. Launch specific number of threads if @a worker_threads is provided, otherwise use all available hardware concurrency.

Source from the content-addressed store, hash-verified

48 /// threads if @a worker_threads is provided, otherwise use all available
49 /// hardware concurrency.
50 void AsyncRun(size_t worker_threads) {
51 _workers.CreateThreads(worker_threads, [this]() { Run(); });
52 }
53
54 /// @copydoc AsyncRun(size_t)
55 void AsyncRun() {

Callers

nothing calls this directly

Calls 1

CreateThreadsMethod · 0.80

Tested by

no test coverage detected