12 #ifndef __EXPR_LOCK_H_INCLUDED__
13 #define __EXPR_LOCK_H_INCLUDED__
26 #if H_BUILD_PARALLEL_COOK_MODE
37 lockedExecute(
const F &functor)
39 theStaticCounter.add(1);
47 bool was_first =
false;
66 lockedExecuteWithoutArena(
const F &functor)
68 theStaticCounter.add(1);
85 static bool theIsDisabled;
106 #endif // __EXPR_LOCK_H_INCLUDED__
EXPR_StaticLock EXPR_GlobalStaticLock
EXPR_Lock::Scope EXPR_AutoLock
UT_TaskLockWithArena EXPR_StaticLock
UT_TaskLock that avoids deadlocks when used with TBB task scheduling.
EXPR_API EXPR_GlobalStaticLock & ev_GlobalEvalLock()