repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: don't use the pid in dev_lock()/dev_unlock() calls
[deb_libcec.git]
/
src
/
lib
/
platform
/
sockets
/
serialport.h
diff --git
a/src/lib/platform/sockets/serialport.h
b/src/lib/platform/sockets/serialport.h
index a16e3ca72115a77279de9837bb8311f0ba025115..eed05a001761f6add5dc1a0de1475ba5bb9dc240 100644
(file)
--- a/
src/lib/platform/sockets/serialport.h
+++ b/
src/lib/platform/sockets/serialport.h
@@
-73,8
+73,6
@@
namespace PLATFORM
CCommonSocket<serial_socket_t>(INVALID_SERIAL_SOCKET_VALUE, strName),
#ifdef __WINDOWS__
m_iCurrentReadTimeout(MAXDWORD),
CCommonSocket<serial_socket_t>(INVALID_SERIAL_SOCKET_VALUE, strName),
#ifdef __WINDOWS__
m_iCurrentReadTimeout(MAXDWORD),
- #else
- m_lockPid(0),
#endif
m_bIsOpen(false),
m_iBaudrate(iBaudrate),
#endif
m_bIsOpen(false),
m_iBaudrate(iBaudrate),
@@
-101,7
+99,6
@@
namespace PLATFORM
protected:
#ifndef __WINDOWS__
struct termios m_options;
protected:
#ifndef __WINDOWS__
struct termios m_options;
- pid_t m_lockPid;
#else
bool SetTimeouts(serial_socket_t socket, int* iError, DWORD iTimeoutMs);
DWORD m_iCurrentReadTimeout;
#else
bool SetTimeouts(serial_socket_t socket, int* iError, DWORD iTimeoutMs);
DWORD m_iCurrentReadTimeout;