diff options
author | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-31 22:56:23 +0000 |
---|---|---|
committer | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-31 22:56:23 +0000 |
commit | 20e41a71829fdaedbc6cddaf9f924610700eb7cc (patch) | |
tree | 6b01125ba866dd07d4a09d8f06e0eb57d5240f11 /libjava/jvmti.cc | |
parent | 9832dc03cb0155a0ecc8f3811b7e12295fbd5f19 (diff) | |
download | gcc-20e41a71829fdaedbc6cddaf9f924610700eb7cc.tar.gz |
* jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
Pass millis to _Jv_CondWait.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jvmti.cc')
-rw-r--r-- | libjava/jvmti.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libjava/jvmti.cc b/libjava/jvmti.cc index c30f6f9343f..91d941a1a63 100644 --- a/libjava/jvmti.cc +++ b/libjava/jvmti.cc @@ -156,11 +156,12 @@ _Jv_JVMTI_RawMonitorExit (MAYBE_UNUSED jvmtiEnv *env, jrawMonitorID monitor) } static jvmtiError JNICALL -_Jv_JVMTI_RawMonitorWait (MAYBE_UNUSED jvmtiEnv *env, jrawMonitorID monitor) +_Jv_JVMTI_RawMonitorWait (MAYBE_UNUSED jvmtiEnv *env, jrawMonitorID monitor, + jlong millis) { if (monitor == NULL) return JVMTI_ERROR_INVALID_MONITOR; - int r = _Jv_CondWait (&monitor->condition, &monitor->mutex, 0, 0); + int r = _Jv_CondWait (&monitor->condition, &monitor->mutex, millis, 0); if (r == _JV_NOT_OWNER) return JVMTI_ERROR_NOT_MONITOR_OWNER; if (r == _JV_INTERRUPTED) |