Lines Matching refs:my_state
110 co_state my_state; variable
114 : my_state(stack_size ? co_suspended : co_executing) in co_context()
125 __TBB_ASSERT(1 << my_state & (1 << co_suspended | 1 << co_executing), nullptr); in ~co_context()
126 if (my_state == co_suspended) { in ~co_context()
128 my_state = co_executing; in ~co_context()
132 my_state = co_destroyed; in ~co_context()
137 __TBB_ASSERT(my_state == co_executing, nullptr); in resume()
138 __TBB_ASSERT(target.my_state == co_suspended, nullptr); in resume()
140 my_state = co_suspended; in resume()
141 target.my_state = co_executing; in resume()
146 __TBB_ASSERT(my_state == co_executing, nullptr); in resume()