I\'m attempting to design/implement a (circular) queue (in C) as a shared memory so that it can be shared between multiple threads/processes.
The queue structure is as
When I messed with Unix IPC, I followed Beej's guide to Unix IPC. It even has some jokes! You can go directly to the shared memory section. It has snippets explaining each step, and a full example at the end.