mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
MPI
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
class TCPServer : IRPCServer {
|
||||
public:
|
||||
explicit TCPServer(int port);
|
||||
TCPServer(int port, QueueHandle_t rx_queue);
|
||||
~TCPServer();
|
||||
|
||||
private:
|
||||
@@ -31,6 +31,8 @@ private:
|
||||
TaskHandle_t m_rx_task;
|
||||
TaskHandle_t m_tx_task;
|
||||
|
||||
QueueHandle_t m_rx_queue;
|
||||
|
||||
SemaphoreHandle_t m_mutex;
|
||||
std::unordered_set<int> m_clients;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user