Lines Matching refs:SuspendResume
3916 os::SuspendResume::State current = osthread->sr.state();
3917 if (current == os::SuspendResume::SR_SUSPEND_REQUEST) {
3921 os::SuspendResume::State state = osthread->sr.suspended();
3922 if (state == os::SuspendResume::SR_SUSPENDED) {
3934 os::SuspendResume::State result = osthread->sr.running();
3935 if (result == os::SuspendResume::SR_RUNNING) {
3938 } else if (result != os::SuspendResume::SR_SUSPENDED) {
3943 } else if (state == os::SuspendResume::SR_RUNNING) {
3950 } else if (current == os::SuspendResume::SR_RUNNING) {
3952 } else if (current == os::SuspendResume::SR_WAKEUP_REQUEST) {
4022 if (osthread->sr.request_suspend() != os::SuspendResume::SR_SUSPEND_REQUEST) {
4038 os::SuspendResume::State cancelled = osthread->sr.cancel_suspend();
4039 if (cancelled == os::SuspendResume::SR_RUNNING) {
4041 } else if (cancelled == os::SuspendResume::SR_SUSPENDED) {
4060 if (osthread->sr.request_wakeup() != os::SuspendResume::SR_WAKEUP_REQUEST) {