repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f015444
)
cec: don't lock the mutex when checking for the poll status of a device. this is...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 15 Feb 2012 18:37:41 +0000
(19:37 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 15 Feb 2012 18:37:41 +0000
(19:37 +0100)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 4ff29a28609c4d359793e9919de136b0ed9ee6bc..ceb311d77b731fca1b09dad283ad1f23aa57a900 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-926,14
+926,12
@@
bool CCECBusDevice::ActivateSource(void)
void CCECBusDevice::HandlePoll(cec_logical_address iDestination)
{
- CLockObject lock(m_mutex);
CLibCEC::AddLog(CEC_LOG_DEBUG, "<< POLL: %s (%x) -> %s (%x)", ToString(m_iLogicalAddress), m_iLogicalAddress, ToString(iDestination), iDestination);
m_bAwaitingReceiveFailed = true;
}
bool CCECBusDevice::HandleReceiveFailed(void)
{
- CLockObject lock(m_mutex);
bool bReturn = m_bAwaitingReceiveFailed;
m_bAwaitingReceiveFailed = false;
return bReturn;