MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / workers

Function workers

src/python/PyImath/PyImathTask.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49size_t
50workers()
51{
52 WorkerPool *curpool = WorkerPool::currentPool();
53 if (curpool && !curpool->inWorkerThread())
54 return curpool->workers();
55 return 1;
56}
57
58}

Callers 1

box_extendByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected