Searched refs:new_thread_state (Results 1 – 3 of 3) sorted by relevance
33 inline ScopedThreadStateChange::ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) in ScopedThreadStateChange() argument34 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) { in ScopedThreadStateChange()45 if (old_thread_state_ != new_thread_state) { in ScopedThreadStateChange()46 if (new_thread_state == kRunnable) { in ScopedThreadStateChange()49 self_->TransitionFromRunnableToSuspended(new_thread_state); in ScopedThreadStateChange()52 self_->SetState(new_thread_state); in ScopedThreadStateChange()
44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state)
1312 bool new_thread_state; in SetEvent() local1339 new_thread_state = true; in SetEvent()1347 new_thread_state = GetThreadEventState(event, target); in SetEvent()1348 DCHECK(new_state || !new_thread_state); in SetEvent()1356 if (old_thread_state != new_thread_state) { in SetEvent()1357 return HandleEventDeopt(event, thread, new_thread_state); in SetEvent()