merge with eiger for gpfs writing

This commit is contained in:
Data Backend account
2022-04-29 18:18:35 +02:00
parent 6a321b2bac
commit 6ecc79257b
40 changed files with 905 additions and 357 deletions
+11
View File
@@ -98,6 +98,11 @@ void* BufferUtils::connect_socket(
detector_name + "-" +
stream_name;
#ifdef DEBUG_OUTPUT
cout << "[BufferUtils::connect_socket]";
cout << " IPC address: " << ipc_address << endl;
#endif
void* socket = zmq_socket(ctx, ZMQ_SUB);
if (socket == nullptr) {
throw runtime_error(zmq_strerror(errno));
@@ -166,6 +171,12 @@ void* BufferUtils::bind_socket(
detector_name + "-" +
stream_name;
#ifdef DEBUG_OUTPUT
cout << "[BufferUtils::bind_socket]";
cout << " IPC address: " << ipc_address << endl;
#endif
void* socket = zmq_socket(ctx, ZMQ_PUB);
const int sndhwm = BUFFER_ZMQ_SNDHWM;