I have two programs (namely dwm and slock). I want to trigger a function in dwm depending on events happening in slock and vice versa. The requirement is that both should be independent and run without the other program and also work together.
What is the easiest and/or the best (most efficient) IPC solution/method?
Advertisement
Answer
I’ve done it like Milag sugested in the comments:
a signal could trigger activity in the other proc; if you need a block of data as well, maybe use shared memory or R/W with a named pipe