How can I make use of the shmat()
, shmdt()
, shmctl()
, shmget()
calls from Python? Are they hidden somewhere in the standard library?
I'm after System V bindings that can be found in the Ubuntu repositories, or Python standard libraries (now or in future releases).
如果您不想使用任何非标准的Python库,也许您可以使用ctypes自己包装所需的函数?
Google找到了sysv_ipc
。
处理包还支持共享内存对象,适用于unix / mac / windows。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.