-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
SharedMemory documentation: System V vs Posix #89891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, the documentation for the shared_memory module states that "shared memory refers to “System V style” shared memory". However, I believe it might be clearer to talk about "POSIX style shared memory" here instead. Primed by the "System V style"-comment, I had expected that shared memory blocks could be identified through a numeric ID (as used by the system V shared memory APIs Technically, the documentation only uses "System V style" to distinguish it from "distributed shared memory", and further states that "[it] is not necessarily implemented explicitly as such". Yet, this distinction is particularly relevant if memory is to be shared with other (non-python!) processes (although placement of shared_memory in the multiprocessing package might indicate that that is not one of its expected use-cases...) |
'System V' is in the first line of the second paragraph of Davin, git blame says you wrote this in Feb 2019. |
This note in the docs also confused me (when trying to switch away from the See the answer by Terry Lambert here about the differences: https://www.quora.com/What-are-the-major-differences-between-System-V-and-POSIX-Shared-memory-implementations-available-on-Linux I think that note should not reference "System V" as it is not correct, and only causes confusion. |
…104678) It only uses POSIX API. (cherry picked from commit 500ede0) Co-authored-by: Oleg Iarygin <[email protected]>
…104678) It only uses POSIX API. (cherry picked from commit 500ede0) Co-authored-by: Oleg Iarygin <[email protected]>
… (GH-114874) It only uses POSIX API. (cherry picked from commit 500ede0) Co-authored-by: Oleg Iarygin <[email protected]>
… (GH-114873) It only uses POSIX API. (cherry picked from commit 500ede0) Co-authored-by: Oleg Iarygin <[email protected]>
…104678) It only uses POSIX API.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: