You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Wrote a component test, which has a stand-in server thread
in place of an actual StorageManager. The server thread returns the same error over and over again. Used that test to debug some basic comm stuff & find errors in error handling.
This commit is contained in:
@ -42,14 +42,15 @@ class SocketPool : public boost::noncopyable
|
||||
private:
|
||||
int getSocket();
|
||||
void returnSocket(const int sock);
|
||||
void remoteClosed(const int sock);
|
||||
|
||||
std::vector<int> allSockets;
|
||||
std::deque<int> freeSockets;
|
||||
boost::mutex mutex;
|
||||
boost::condition_variable socketAvailable;
|
||||
int clientSocket;
|
||||
uint maxSockets;
|
||||
static const uint defaultSockets = 20;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user