diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-05-16 15:38:25 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-05-16 15:38:25 +0000 |
commit | f80e2c27c6b4deb05e4e533092dd90dd449262d1 (patch) | |
tree | e1dc25bfe5c122976677b2a3bcfce6d1ab3683bd /cpp/src/IceUtil/RecMutex.cpp | |
parent | all timed function now return false on timeout instead of raising an (diff) | |
download | ice-f80e2c27c6b4deb05e4e533092dd90dd449262d1.tar.bz2 ice-f80e2c27c6b4deb05e4e533092dd90dd449262d1.tar.xz ice-f80e2c27c6b4deb05e4e533092dd90dd449262d1.zip |
Renamed trylock, readlock and writelock to tryLock, readLock and writeLock
Diffstat (limited to 'cpp/src/IceUtil/RecMutex.cpp')
-rw-r--r-- | cpp/src/IceUtil/RecMutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceUtil/RecMutex.cpp b/cpp/src/IceUtil/RecMutex.cpp index 44f81a0ca59..0addcc0f61f 100644 --- a/cpp/src/IceUtil/RecMutex.cpp +++ b/cpp/src/IceUtil/RecMutex.cpp @@ -42,7 +42,7 @@ IceUtil::RecMutex::lock() const } bool -IceUtil::RecMutex::trylock() const +IceUtil::RecMutex::tryLock() const { if(!TryEnterCriticalSection(&_mutex)) { @@ -142,7 +142,7 @@ IceUtil::RecMutex::lock() const } bool -IceUtil::RecMutex::trylock() const +IceUtil::RecMutex::tryLock() const { int rc = pthread_mutex_trylock(&_mutex); bool result = (rc == 0); |