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)
1448 bool new_thread_state; in SetInternalEvent() local1482 new_thread_state = IncrInternalEventThreadRefcount(event, target) > 0; in SetInternalEvent()1485 new_thread_state = DecrInternalEventThreadRefcount(event, target) > 0; in SetInternalEvent()1497 if (old_thread_state != new_thread_state) { in SetInternalEvent()1498 HandleEventDeopt(event, thread, new_thread_state); in SetInternalEvent()1542 bool new_thread_state; in SetEvent() local1569 new_thread_state = true; in SetEvent()1577 new_thread_state = GetThreadEventState(event, target); in SetEvent()1578 DCHECK(new_state || !new_thread_state); in SetEvent()1586 if (old_thread_state != new_thread_state) { in SetEvent()[all …]