Home
last modified time | relevance | path

Searched refs:newVal (Results 1 – 1 of 1) sorted by relevance

/oneTBB/src/tbbmalloc/
H A Dtbbmalloc_internal.h162 inline void AtomicUpdate(std::atomic<Arg>& location, Arg newVal, const Compare &cmp) in AtomicUpdate() argument
166 for (; cmp(old, newVal); ) { in AtomicUpdate()
167 if (location.compare_exchange_strong(old, newVal)) in AtomicUpdate()
385 void set(intptr_t newVal) {
386 val = newVal;
518 void setMode(intptr_t newVal) {
520 requestedMode.set(newVal);
521 isEnabled = (isHPAvailable || isTHPAvailable) && newVal;