Skip to content

RoutiSigHandler #1515

Answered by elfenpiff
hemalbavishi asked this question in Q&A
Jul 15, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@hemalbavishi You are right, this semaphore is now superfluous that is why we removed it on master some time ago. The new way is to use the posix signalwatcher from iceoryx hoofs when one would like to wait until the (roudi) app received a SIGTERM signal.
See:

#include "iceoryx_hoofs/posix_wrapper/signal_watcher.hpp"

//... some code

iox::posix::waitForTerminationRequest();

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hemalbavishi
Comment options

Answer selected by hemalbavishi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants