Searched refs:state_and_flags (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | thread-inl.h | 133 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in SetState() 135 tls32_.state_and_flags.as_struct.state = new_state; in SetState() 182 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionToSuspendedAndRunCheckpoints() 199 tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakRelease(old_state_and_flags.as_int, in TransitionToSuspendedAndRunCheckpoints() 209 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers() 236 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 241 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 250 if (LIKELY(tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakAcquire( in TransitionFromSuspendedToRunnable() 279 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 284 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
|
D | thread.h | 218 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState() 219 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState() 220 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState() 234 union StateAndFlags state_and_flags; in IsSuspended() local 235 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended() 236 return state_and_flags.as_struct.state != kRunnable && in IsSuspended() 237 (state_and_flags.as_struct.flags & kSuspendRequest) != 0; in IsSuspended() 586 OFFSETOF_MEMBER(tls_32bit_sized_values, state_and_flags)); in ThreadFlagsOffset() 1020 return (tls32_.state_and_flags.as_struct.flags & flag) != 0; in ReadFlag() 1024 return (tls32_.state_and_flags.as_struct.flags != 0); in TestAllFlags() [all …]
|
D | entrypoints_order_test.cc | 66 CHECKED(OFFSETOF_MEMBER(Thread, tls32_.state_and_flags) == 0, thread_flags_at_zero); in CheckThreadOffsets() 67 EXPECT_OFFSET_DIFFP(Thread, tls32_, state_and_flags, suspend_count, 4); in CheckThreadOffsets()
|
D | thread.cc | 1224 tls32_.state_and_flags.as_atomic_int.FetchAndOrSequentiallyConsistent(flags); in ModifySuspendCountInternal() 1336 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in RequestCheckpoint() 1346 bool success = tls32_.state_and_flags.as_atomic_int.CompareExchangeStrongSequentiallyConsistent( in RequestCheckpoint() 1363 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in RequestEmptyCheckpoint() 1375 bool success = tls32_.state_and_flags.as_atomic_int.CompareExchangeStrongSequentiallyConsistent( in RequestEmptyCheckpoint() 1589 << " flags=" << thread->tls32_.state_and_flags.as_struct.flags in DumpState() 1976 tls32_.state_and_flags.as_struct.flags = 0; in Thread() 1977 tls32_.state_and_flags.as_struct.state = kNative; in Thread()
|