pipert.core.shared_memory¶
Module Contents¶
Classes¶
A wrapper for posix_ipc.SharedMemory, posix_ipc.Semaphore and the correlating mapfile to simplify usage. |
-
class
pipert.core.shared_memory.SharedMemory(memory, semaphore, mapfile)[source]¶ A wrapper for posix_ipc.SharedMemory, posix_ipc.Semaphore and the correlating mapfile to simplify usage.
-
write_to_memory(self, byte_code)[source]¶ Writes a given byte code to the shared memory. Args:
byte_code: A byte string that’s to be written to the shared memory.
-