| 218 | void set_bit(int i, bool flag) { if (likely(flag)) set_bit(i); else clear_bit(i); } |
| 219 | bool is_joinable() { return is_bit(shift::joinable); } |
| 220 | void set_joinable(bool flag = true) { set_bit(shift::joinable, flag); } |
| 221 | bool is_shutting_down() { return is_bit(shift::shutting_down); } |
| 222 | void set_shutting_down(bool flag = true) { set_bit(shift::shutting_down, flag); } |
| 223 | bool allow_work_stealing() { return is_bit(shift::enable_work_stealing) && |
no outgoing calls
no test coverage detected