summaryrefslogtreecommitdiff
path: root/src/components/transport_manager/include/transport_manager/tcp/tcp_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/transport_manager/include/transport_manager/tcp/tcp_device.h')
-rw-r--r--src/components/transport_manager/include/transport_manager/tcp/tcp_device.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/transport_manager/include/transport_manager/tcp/tcp_device.h b/src/components/transport_manager/include/transport_manager/tcp/tcp_device.h
index 2b89e09020..08821ab3c4 100644
--- a/src/components/transport_manager/include/transport_manager/tcp/tcp_device.h
+++ b/src/components/transport_manager/include/transport_manager/tcp/tcp_device.h
@@ -1,4 +1,4 @@
-/*
+/**
* \file tcp_device.h
* \brief TcpDevice class header file.
*
@@ -47,8 +47,6 @@
#include <sys/types.h>
#include <sys/socket.h>
-#include "utils/lock.h"
-
namespace transport_manager {
namespace transport_adapter {
@@ -138,7 +136,7 @@ class TcpDevice : public Device {
uint16_t port;
};
std::map<ApplicationHandle, Application> applications_;
- mutable sync_primitives::Lock applications_mutex_;
+ mutable pthread_mutex_t applications_mutex_;
const in_addr_t in_addr_;
const std::string name_;
ApplicationHandle last_handle_;