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:
parent
9eb71d8c3b
commit
e472b4f96b
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2000-04-08 Anthony Green <green@cygnus.com>
|
||||||
|
|
||||||
* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h.
|
* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h.
|
||||||
|
|
|
@ -136,7 +136,7 @@ inline int
|
||||||
_Jv_MutexUnlock (_Jv_Mutex_t *mu)
|
_Jv_MutexUnlock (_Jv_Mutex_t *mu)
|
||||||
{
|
{
|
||||||
if (_Jv_PthreadCheckMonitor (mu))
|
if (_Jv_PthreadCheckMonitor (mu))
|
||||||
return _JV_NOT_OWNER;
|
return 1;
|
||||||
|
|
||||||
mu->count--;
|
mu->count--;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue