Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help using Signals #9

Open
VarLad opened this issue Jun 4, 2024 · 1 comment
Open

Help using Signals #9

VarLad opened this issue Jun 4, 2024 · 1 comment

Comments

@VarLad
Copy link

VarLad commented Jun 4, 2024

Hello! Thanks for the package!

I'm trying to understand the Signal interface to send messages between processes/threads, but not sure where to start.
Would you have a minimal example?

@emmt
Copy link
Owner

emmt commented Jun 5, 2024

The signal interface in InterProcessCommunication is very primitive. As a general rule, it provides calls to C functions related to POSIX signals. Depending on the kind of messages, POSIX signals may not be appropriate if you want to send messages between processes/threads. You may consider shared memory and mutexes or semaphores (which are provided by this package) or pipes or sockets (which are provided by Julia).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants