Lines Matching refs:status_
211 while (worker->status_ == OK) { // wait in idling mode in ThreadLoop()
214 if (worker->status_ == WORK) { in ThreadLoop()
216 worker->status_ = OK; in ThreadLoop()
217 } else if (worker->status_ == NOT_OK) { // finish the worker in ThreadLoop()
235 if (worker->status_ >= OK) { in ChangeState()
237 while (worker->status_ != OK) { in ChangeState()
242 worker->status_ = new_status; in ChangeState()
255 worker->status_ = NOT_OK; in Init()
262 assert(worker->status_ <= OK); in Sync()
269 if (worker->status_ < OK) { in Reset()
284 if (ok) worker->status_ = OK; in Reset()
295 worker->status_ = OK; in Reset()
297 } else if (worker->status_ > OK) { in Reset()
300 assert(!ok || (worker->status_ == OK)); in Reset()
329 worker->status_ = NOT_OK; in End()
332 assert(worker->status_ == NOT_OK); in End()