repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: added the vendor id for Sony
[deb_libcec.git]
/
src
/
lib
/
platform
/
threads.h
diff --git
a/src/lib/platform/threads.h
b/src/lib/platform/threads.h
index 4161de3261b12d68d7c4c137dc923ab1281db404..a258081ccef8bbdf6a5bc8f33826fbaf26ae6c84 100644
(file)
--- a/
src/lib/platform/threads.h
+++ b/
src/lib/platform/threads.h
@@
-56,7
+56,7
@@
namespace CEC
class CMutex
{
public:
class CMutex
{
public:
- CMutex(
void
);
+ CMutex(
bool bRecursive = true
);
virtual ~CMutex(void);
bool TryLock(void);
virtual ~CMutex(void);
bool TryLock(void);
@@
-64,6
+64,9
@@
namespace CEC
void Unlock(void);
pthread_mutex_t m_mutex;
void Unlock(void);
pthread_mutex_t m_mutex;
+
+ private:
+ static pthread_mutexattr_t *GetMutexAttribute();
};
class CLockObject
};
class CLockObject