Simple examples of Linux IPC
All examples are encapsulated on a docker container
make build
will build the docker image along with all examplesmake start
will build and launch the containermake shell
will open a shell within the container. Compiled examples are on thebin/
directorymake stop
stops the container
- Fork
fork
- Signals
signal-int
signal-child-wait
signal-child-ignore
(not working properly as of now, skip)signal-child-handle
- Pipes
pipes
- FIFOs
fifo-simple.sh
fifo-multiple-writers.sh
fifo-multiple-writers-line-buffered.sh
- File Locking
flock.sh
flock
- Memory Mapped Files
shmem
- Semaphores
semaphore
- Message Queues
mqueue-sender
+mqueue-receiver
- Unix Sockets
unix-socket-fork
unix-socket-server
+unix-socket-client