Home
last modified time | relevance | path

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

/oneTBB/src/tbb/
H A Dglobal_control.cpp54 virtual void apply_active(std::size_t new_active) { in apply_active() argument
55 my_active_value = new_active; in apply_active()
77 void apply_active(std::size_t new_active) override { in apply_active() argument
78 control_storage::apply_active(new_active); in apply_active()
110 void apply_active(std::size_t new_active) override { in apply_active() argument
111 control_storage::apply_active(new_active); in apply_active()
132 if (new_active == 1) { in apply_active()
138 control_storage::apply_active(new_active); in apply_active()
216 new_active = c->default_value(); in destroy()
220 if (new_active != old_active) { in destroy()
[all …]
/oneTBB/examples/task_arena/fractal/
H A Dfractal.cpp178 void fractal_group::switch_active(int new_active) { in switch_active() argument
179 if (new_active != -1) in switch_active()
180 active = new_active; in switch_active()
261 int new_active = -1; in mouse_click() local
265 new_active = 0; in mouse_click()
269 new_active = 1; in mouse_click()
272 if (new_active != -1 && new_active != active) { in mouse_click()
273 switch_active(new_active); in mouse_click()
H A Dfractal.hpp144 void switch_active(int new_active = -1);