Lines Matching refs:SuspendResume
3764 os::SuspendResume::State current = osthread->sr.state();
3765 if (current == os::SuspendResume::SR_SUSPEND_REQUEST) {
3769 os::SuspendResume::State state = osthread->sr.suspended();
3770 if (state == os::SuspendResume::SR_SUSPENDED) {
3782 os::SuspendResume::State result = osthread->sr.running();
3783 if (result == os::SuspendResume::SR_RUNNING) {
3789 } else if (state == os::SuspendResume::SR_RUNNING) {
3796 } else if (current == os::SuspendResume::SR_RUNNING) {
3798 } else if (current == os::SuspendResume::SR_WAKEUP_REQUEST) {
3868 if (osthread->sr.request_suspend() != os::SuspendResume::SR_SUSPEND_REQUEST) {
3884 os::SuspendResume::State cancelled = osthread->sr.cancel_suspend();
3885 if (cancelled == os::SuspendResume::SR_RUNNING) {
3887 } else if (cancelled == os::SuspendResume::SR_SUSPENDED) {
3906 if (osthread->sr.request_wakeup() != os::SuspendResume::SR_WAKEUP_REQUEST) {