IPC 的 pyipc lib 替代品 python

Alternatives to pyipc lib for IPC with python

我将 pyipc 用于一个旧项目 Python binings to System V 进程间通信机制:https://pypi.python.org/pypi/pyipc/

效果不错,我是这样用的:

from ipc import Semaphore, MessageQueue
...

不过好像不维护了

在 python 中更现代的方法是什么?

检查标准库中的多处理模块

https://docs.python.org/2/library/multiprocessing.html

POSIX IPCSysV IPC:

POSIX IPC provides Python access to POSIX IPC primitives, it is a little easier to use than SysV IPC,但并非所有操作系统都完全支持它。

在 Python 2.7 和 3.x

下工作