1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Phase 1 of cleaning up the messaging code.

This commit is contained in:
Patrick LeBlanc
2019-02-11 18:20:11 -06:00
parent d1297f31a2
commit a9ce25c4f6
3 changed files with 16 additions and 18 deletions

View File

@ -38,7 +38,7 @@ class SocketPool : public boost::noncopyable
// 0 = success, -1 = failure. Should this throw instead?
int send_recv(messageqcpp::ByteStream &to_send, messageqcpp::ByteStream *to_recv);
private:
int getSocket();
void returnSocket(const int sock);
@ -50,7 +50,6 @@ class SocketPool : public boost::noncopyable
boost::condition_variable socketAvailable;
uint maxSockets;
static const uint defaultSockets = 20;
};
}