Expand description
Defines operations to create readers and writers backed by a memory mapped channel.
Modules§
Functions§
- shm_
reader - Creates a kekbit reader associated to a memory mapped channel.
- shm_
writer - Creates a file backed memory mapped kekbit channel and a writer associate with it.
- storage_
path - Returns the path to the file associated with a channel inside a kekbit root folder.
- try_
shm_ reader - Tries multiple times to create a kekbit reader associated to a memory mapped channel.
This function will basically call shm_reader up to tries time unless
it succeeds. Between two tries the function will spin/sleep for a about
duration_millis/tries
milliseconds so potentially could be blocking. This should be the preferred method to create a reader when you are willing to wait until the channel is available.