Searched refs:state_and_flags (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | thread-inl.h | 113 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in SetState() 115 tls32_.state_and_flags.as_struct.state = new_state; in SetState() 186 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionToSuspendedAndRunCheckpoints() 203 tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakRelease(old_state_and_flags.as_int, in TransitionToSuspendedAndRunCheckpoints() 213 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers() 240 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 245 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 254 if (LIKELY(tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakAcquire( in TransitionFromSuspendedToRunnable() 283 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 288 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
|
D | thread.h | 220 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState() 221 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState() 222 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState() 241 union StateAndFlags state_and_flags; in IsSuspended() local 242 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended() 243 return state_and_flags.as_struct.state != kRunnable && in IsSuspended() 244 (state_and_flags.as_struct.flags & kSuspendRequest) != 0; in IsSuspended() 603 OFFSETOF_MEMBER(tls_32bit_sized_values, state_and_flags)); in ThreadFlagsOffset() 1043 return (tls32_.state_and_flags.as_struct.flags & flag) != 0; in ReadFlag() 1047 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 | 1264 tls32_.state_and_flags.as_atomic_int.FetchAndOrSequentiallyConsistent(flags); in ModifySuspendCountInternal() 1376 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in RequestCheckpoint() 1386 bool success = tls32_.state_and_flags.as_atomic_int.CompareExchangeStrongSequentiallyConsistent( in RequestCheckpoint() 1403 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in RequestEmptyCheckpoint() 1415 bool success = tls32_.state_and_flags.as_atomic_int.CompareExchangeStrongSequentiallyConsistent( in RequestEmptyCheckpoint() 1663 << " flags=" << thread->tls32_.state_and_flags.as_struct.flags in DumpState() 2049 tls32_.state_and_flags.as_struct.flags = 0; in Thread() 2050 tls32_.state_and_flags.as_struct.state = kNative; in Thread()
|