System V shared memory in Python?

前端 未结 4 639
忘掉有多难
忘掉有多难 2020-12-29 12:27

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

相关标签:
4条回答
  • 2020-12-29 13:03

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

    0 讨论(0)
  • 2020-12-29 13:09

    Google finds sysv_ipc.

    0 讨论(0)
  • 2020-12-29 13:10

    If you don't want to use any non-standard Python libraries, perhaps you could wrap the functions you need yourself using ctypes?

    0 讨论(0)
  • 2020-12-29 13:11

    The processing package also supports shared memory objects, and works on unix/mac/windows.

    0 讨论(0)
提交回复
热议问题