posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor...
authorJerry Quinn <jlquinn@optonline.net>
Tue, 21 Oct 2003 04:46:19 +0000 (04:46 +0000)
committerJerry Quinn <jlquinn@gcc.gnu.org>
Tue, 21 Oct 2003 04:46:19 +0000 (04:46 +0000)
commit16a10fb6fc9e64b1eb38c85630ef7e20ca7ade64
treeb5325b3608586fc1cc0a4882b22a1fee0f1262bb
parent036a75ac29ce155ea4c004d38ecce1e8c07f5272
posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.

2003-10-21  Jerry Quinn  <jlquinn@optonline.net>

        * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
        _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
* include/no-threads.h (_Jv_MutexCheckMonitor): New.
* include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
        _Jv_PthreadCheckMonitor.  Simplify code.
(_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
* include/win32-threads.h (_Jv_MutexCheckMonitor): New.
* java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
* java/lang/Thread.java (holdsLock): New.
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
        without JV_HASH_SYNCHRONIZATION.
* java/lang/natThread.cc (java::lang::Thread::holdsLock): New.

From-SVN: r72741
libjava/ChangeLog
libjava/include/no-threads.h
libjava/include/posix-threads.h
libjava/include/win32-threads.h
libjava/java/lang/Object.h
libjava/java/lang/Thread.java
libjava/java/lang/natObject.cc
libjava/java/lang/natThread.cc
libjava/posix-threads.cc