osvenskan / posix_ipc

Other
135 stars 24 forks source link

Problem of messageQueue on macos #49

Closed p4sh4bsc closed 1 year ago

p4sh4bsc commented 1 year ago

Hello, I would like to know why I don't have a messageQueue on macos. However, if I use this library on Ubuntu, then messageQueue can be used. Is this a problem on my side or it just the lib doesn't support messageQueue on macOS? I have already tried all possible solutions and searched for information of this problem in many sources, but I did not find the answer. I hope that you will give me an answer to my question, thanks!

Снимок экрана 2023-07-14 в 02 35 47 Снимок экрана 2023-07-14 в 02 36 26
osvenskan commented 1 year ago

Привіт! You are correct, message queues are not supported on Mac because Apple has chosen not to implement POSIX message queues on Mac OS. This library is just a Python wrapper around operating system features, so if the operating system doesn't support it, this library can't support it either.

This behavior is documented here: https://github.com/osvenskan/posix_ipc/blob/develop/USAGE.md#platform-notes

p4sh4bsc commented 1 year ago

ok, thanks for the reply