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

Function dispatchTask

src/python/PyImath/PyImathTask.cpp:33–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void
34dispatchTask(Task &task,size_t length)
35{
36 if (length > _minIterations)
37 {
38 WorkerPool *curpool = WorkerPool::currentPool();
39 if (curpool && !curpool->inWorkerThread())
40 {
41 curpool->dispatch(task,length);
42 return;
43 }
44 }
45 task.execute(0,length,0);
46}
47
48
49size_t

Callers 15

M33Array_constructorFunction · 0.85
M33Array_inverseFunction · 0.85
M33Array_rmulVec3Function · 0.85
M33Array_rmulVec3ArrayFunction · 0.85
box_extendByFunction · 0.85
box_intersectsFunction · 0.85
frustumTest_isVisibleFunction · 0.85
QuatArray_setRotationFunction · 0.85
QuatArray_axisFunction · 0.85
QuatArray_angleFunction · 0.85
QuatArray_rmulVec3Function · 0.85

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected