11 #ifndef __OP_NODECOOKLOCKED_EXECUTE_H_INCLUDED__
12 #define __OP_NODECOOKLOCKED_EXECUTE_H_INCLUDED__
26 #if H_BUILD_PARALLEL_COOK_MODE
27 if (isOperatorThreadSafe())
28 EXPR_StaticLock::theStaticCounter.
add(-1);
32 #endif // __OP_NODECOOKLOCKED_EXECUTE_H_INCLUDED__
void cookLockedExecute(const F &functor)
void lockedExecute(const F &functor)
EXPR_API EXPR_GlobalStaticLock & ev_GlobalEvalLock()
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)