Browse Source

Cleanup

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2329 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
780f82789d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/JackMutex.h

+ 2
- 2
common/JackMutex.h View File

@@ -101,7 +101,7 @@ class JackMutex
pthread_mutex_lock(&fMutex); pthread_mutex_lock(&fMutex);
} }


bool Trylock()
bool Trylock()
{ {
return (pthread_mutex_trylock(&fMutex) == 0); return (pthread_mutex_trylock(&fMutex) == 0);
} }
@@ -138,7 +138,7 @@ class JackLockAble
return fMutex.Trylock(); return fMutex.Trylock();
} }


void Unlock()
void Unlock()
{ {
fMutex.Unlock(); fMutex.Unlock();
} }


Loading…
Cancel
Save