2020-12-12 05:18:05 +00:00
libshmemq
=========
Library for message queue in shared memory.
Table of contents
-----------------
* [Overview ](#libshmemq )
* [Table of contents ](#table-of-contents )
2020-12-15 06:32:09 +00:00
* [Links ](#links )
* [Similar implementations ](#similar-implementations )
* [Implementation theory ](#implementation-theory )
2020-12-16 06:59:18 +00:00
* [Shared memory and other IPC theory ](#shared-memory-and-other-ipc-theory )
2020-12-15 06:32:09 +00:00
* [Cost theory ](#cost-theory )
2020-12-14 12:35:29 +00:00
2020-12-15 06:32:09 +00:00
Links
-----
### Similar implementations
2020-12-14 12:35:29 +00:00
2021-08-17 11:53:37 +00:00
* [Boost Lock-free ](https://www.boost.org/doc/libs/1_77_0/doc/html/lockfree.html )
2021-08-17 12:03:50 +00:00
* [rmind/ringbuf ](https://github.com/rmind/ringbuf )
2020-12-14 12:35:29 +00:00
* [goldshtn/shmemq-blog ](https://github.com/goldshtn/shmemq-blog )
* [MengRao/SPSC_Queue ](https://github.com/MengRao/SPSC_Queue )
* [ezhang887/shmemq ](https://github.com/ezhang887/shmemq )
2022-12-06 23:18:02 +00:00
* [MengRao/tcpshm ](https://github.com/MengRao/tcpshm )
2020-12-15 06:32:09 +00:00
### Implementation theory
2020-12-14 12:35:29 +00:00
* [Building a shared memory IPC implementation – Part I ](https://coherent-labs.com/posts/building-a-shared-memory-ipc-implementation-part-i/ )
* [Single-Producer/Single-Consumer Queue ](https://software.intel.com/content/www/us/en/develop/articles/single-producer-single-consumer-queue.html )
2021-08-17 11:36:52 +00:00
* [A lock-free, cache-efficient shared ring buffer for multi-core architectures ](https://www.researchgate.net/publication/221046035_A_lock-free_cache-efficient_shared_ring_buffer_for_multi-core_architectures )
2020-12-15 06:32:09 +00:00
2020-12-16 06:59:18 +00:00
### Shared memory and other IPC theory
2020-12-16 17:32:38 +00:00
* [What are primitives for the fastest user-space IPC? ](https://forum.osdev.org/viewtopic.php?f=1&t=38693 )
2020-12-16 06:59:18 +00:00
* [Разделяемая память. Семафоры. ](https://youtu.be/g_qco-EJqDM )
2020-12-15 06:32:09 +00:00
### Cost theory
2020-12-15 05:19:15 +00:00
* [Which takes longer time? Switching between the user & kernel modes or switching between two processes? ](https://stackoverflow.com/a/14205346 )
2020-12-15 05:22:29 +00:00
* [What happens the most, context switches or mode switches? ](https://unix.stackexchange.com/a/15537 )