2020-12-12 05:18:05 +00:00
|
|
|
|
libshmemq
|
|
|
|
|
=========
|
|
|
|
|
|
2020-12-12 05:41:09 +00:00
|
|
|
|
[![Build Status](https://travis-ci.org/kotovalexarian/libshmemq.svg?branch=master)](https://travis-ci.org/kotovalexarian/libshmemq)
|
|
|
|
|
|
2020-12-12 05:18:05 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
* [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)
|
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)
|
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)
|