aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/posix-threads.h
diff options
context:
space:
mode:
authorAnthony Green <green@cygnus.com>2000-04-09 06:53:00 +0000
committerAnthony Green <green@gcc.gnu.org>2000-04-09 06:53:00 +0000
commite472b4f96b0b8358e8eb84fe85133f5dbaa56915 (patch)
treef6be5b5b281cb4ee855d6fcc88eaa82e4f58cc01 /libjava/include/posix-threads.h
parent9eb71d8c3b520b6a2b556884ce3735289ff1a276 (diff)
downloadgcc-e472b4f96b0b8358e8eb84fe85133f5dbaa56915.zip
gcc-e472b4f96b0b8358e8eb84fe85133f5dbaa56915.tar.gz
gcc-e472b4f96b0b8358e8eb84fe85133f5dbaa56915.tar.bz2
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
Diffstat (limited to 'libjava/include/posix-threads.h')
-rw-r--r--libjava/include/posix-threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/include/posix-threads.h b/libjava/include/posix-threads.h
index 03a4390..5b1f075 100644
--- a/libjava/include/posix-threads.h
+++ b/libjava/include/posix-threads.h
@@ -136,7 +136,7 @@ inline int
_Jv_MutexUnlock (_Jv_Mutex_t *mu)
{
if (_Jv_PthreadCheckMonitor (mu))
- return _JV_NOT_OWNER;
+ return 1;
mu->count--;