posix-threads.cc (_Jv_CondWait): Call _Jv_PthreadCheckMonitor.

* posix-threads.cc (_Jv_CondWait): Call _Jv_PthreadCheckMonitor.
	* include/posix-threads.h (_Jv_PthreadCheckMonitor): New
	function.
	(_Jv_CondNotify): Use it.
	(_Jv_CondNotifyAll): Likewise.

	* java/lang/Class.h (JV_STATE_NOTHING): Correct misspelling.

From-SVN: r29030
This commit is contained in:
Tom Tromey 1999-09-01 18:29:39 +00:00 committed by Tom Tromey
parent b1133adfca
commit 6e87747b6d
5 changed files with 40 additions and 8 deletions

View file

@ -27,7 +27,7 @@ extern "C" void _Jv_RegisterClasses (jclass *classes);
// `resolved' must come between `nothing' and the other states.
// Whenever the state changes, one should notify all waiters of this
// class.
#define JV_STATE_NOTING 0 // set by compiler
#define JV_STATE_NOTHING 0 // set by compiler
#define JV_STATE_PRELOADING 1 // can do _Jv_FindClass
#define JV_STATE_LOADING 3 // has super installed