Lines Matching refs:SuspendResume
4336 os::SuspendResume::State current = osthread->sr.state();
4337 if (current == os::SuspendResume::SR_SUSPEND_REQUEST) {
4341 os::SuspendResume::State state = osthread->sr.suspended();
4342 if (state == os::SuspendResume::SR_SUSPENDED) {
4354 os::SuspendResume::State result = osthread->sr.running();
4355 if (result == os::SuspendResume::SR_RUNNING) {
4361 } else if (state == os::SuspendResume::SR_RUNNING) {
4368 } else if (current == os::SuspendResume::SR_RUNNING) {
4370 } else if (current == os::SuspendResume::SR_WAKEUP_REQUEST) {
4480 if (osthread->sr.request_suspend() != os::SuspendResume::SR_SUSPEND_REQUEST) {
4496 os::SuspendResume::State cancelled = osthread->sr.cancel_suspend();
4497 if (cancelled == os::SuspendResume::SR_RUNNING) {
4499 } else if (cancelled == os::SuspendResume::SR_SUSPENDED) {
4518 if (osthread->sr.request_wakeup() != os::SuspendResume::SR_WAKEUP_REQUEST) {