posix-threads.h (_Jv_MutexUnlock): Replace _JV_NOT_OWNER.

2000-04-08  Anthony Green  <green@cygnus.com>

	* include/posix-threads.h (_Jv_MutexUnlock): Replace
	_JV_NOT_OWNER.

From-SVN: r33039
This commit is contained in:
Anthony Green 2000-04-09 06:53:00 +00:00 committed by Anthony Green
parent 9eb71d8c3b
commit e472b4f96b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-04-08 Anthony Green <green@cygnus.com>
* include/posix-threads.h (_Jv_MutexUnlock): Replace
_JV_NOT_OWNER.
2000-04-08 Anthony Green <green@cygnus.com>
* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h.

View File

@ -136,7 +136,7 @@ inline int
_Jv_MutexUnlock (_Jv_Mutex_t *mu)
{
if (_Jv_PthreadCheckMonitor (mu))
return _JV_NOT_OWNER;
return 1;
mu->count--;