mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-02 20:14:12 +02:00
Changed all IPCs to /tmp folder
This commit is contained in:
@@ -34,7 +34,7 @@ int main (int argc, char *argv[]) {
|
||||
int source_id = atoi(argv[4]);
|
||||
|
||||
stringstream ipc_stream;
|
||||
ipc_stream << "ipc://sf-live-" << source_id;
|
||||
ipc_stream << "ipc:///tmp/sf-live-" << source_id;
|
||||
const auto ipc_address = ipc_stream.str();
|
||||
|
||||
auto ctx = zmq_ctx_new();
|
||||
|
||||
@@ -71,7 +71,7 @@ int main (int argc, char *argv[]) {
|
||||
const uint16_t source_id = (uint16_t) atoi(argv[3]);
|
||||
|
||||
stringstream ipc_stream;
|
||||
ipc_stream << "ipc://sf-live-" << (int)source_id;
|
||||
ipc_stream << "ipc:///tmp/sf-live-" << (int)source_id;
|
||||
const auto ipc_address = ipc_stream.str();
|
||||
|
||||
#ifdef DEBUG_OUTPUT
|
||||
|
||||
@@ -201,7 +201,7 @@ int main (int argc, char *argv[]) {
|
||||
const auto stop_pulse_id = (uint64_t) atoll(argv[5]);
|
||||
|
||||
stringstream ipc_stream;
|
||||
ipc_stream << "ipc://sf-replay-" << (int)module_id;
|
||||
ipc_stream << "ipc:///tmp/sf-replay-" << (int)module_id;
|
||||
const auto ipc_address = ipc_stream.str();
|
||||
|
||||
#ifdef DEBUG_OUTPUT
|
||||
|
||||
@@ -180,7 +180,7 @@ int main (int argc, char *argv[])
|
||||
n_modules * MODULE_N_BYTES * WRITER_N_FRAMES_BUFFER,
|
||||
WRITER_RB_BUFFER_SLOTS);
|
||||
|
||||
string ipc_prefix = "ipc://sf-replay-";
|
||||
string ipc_prefix = "ipc:///tmp/sf-replay-";
|
||||
auto ctx = zmq_ctx_new();
|
||||
zmq_ctx_set (ctx, ZMQ_IO_THREADS, WRITER_ZMQ_IO_THREADS);
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ int main (int argc, char *argv[])
|
||||
n_modules * MODULE_N_BYTES * WRITER_N_FRAMES_BUFFER,
|
||||
WRITER_RB_BUFFER_SLOTS);
|
||||
|
||||
string ipc_prefix = "ipc://sf-replay-";
|
||||
string ipc_prefix = "ipc:///tmp/sf-replay-";
|
||||
auto ctx = zmq_ctx_new();
|
||||
zmq_ctx_set (ctx, ZMQ_IO_THREADS, WRITER_ZMQ_IO_THREADS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user