eclipse-iceoryx / iceoryx

Eclipse iceoryx™ - true zero-copy inter-process-communication
https://iceoryx.io
Apache License 2.0
1.62k stars 383 forks source link

[Question] Does lock file path matter (or, can it be replaced by whatever I want?) #875

Closed MiaoDX closed 3 years ago

MiaoDX commented 3 years ago

Required information

Operating system: Customized Rcar H3 board with QNX 7.0

Compiler version: QNX 7.0

Observed result or behaviour: I failed to set the lock path to /var/lock/ or /tmp/ (error message as below), but one custom path such as /opt/Free_eMMC2/icelock/ which is not owned by root is okay.

image

So, if the lock path is not /tmp/, will it hurt the performance?

Expected result or behaviour: None

Conditions where it occurred / Performed steps: None

elBoberido commented 3 years ago

It will not hurt performance, since it is only used to prevent to start RouDi twice. You just have to be sure that you don't have two iox-roudi binaries compiled with two different lock-file paths. In this case they will interfere with one another since they want to manage the same resources.

MiaoDX commented 3 years ago

OK, got it, thx~ Finally, I can use iceoryx on QNX ٩(๑•ㅂ•)۶

elBoberido commented 3 years ago

Issue will be closed. Feel free to open it again it you still have related questions.