Changed all IPCs to /tmp folder

This commit is contained in:
2020-05-04 15:27:50 +02:00
parent 1324e7b3e8
commit 16847f48b8
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);