Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System V shared memory in Python?

How can I make use of the shmat(), shmdt(), shmctl(), shmget() calls from Python? Are they hidden somewhere in the standard library?

Update0

I'm after System V bindings that can be found in the Ubuntu repositories, or Python standard libraries (now or in future releases).

like image 741
Matt Joiner Avatar asked Feb 08 '10 04:02

Matt Joiner


2 Answers

Google finds sysv_ipc.

like image 108
Ignacio Vazquez-Abrams Avatar answered Oct 01 '22 02:10

Ignacio Vazquez-Abrams


This page offers a feature matrix to help you choose between the posix_ipc, sysv_ipc, and shm modules.

like image 31
Jonathan Feinberg Avatar answered Oct 01 '22 01:10

Jonathan Feinberg