Skip to content

Multiprocessing docs don't describe thread-safety #84992

Open

Description

@bensimner
mannequin
BPO 40815
Nosy @alanbriolat, @bensimner, @iritkatriel

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:

assignee = None
closed_at = None
created_at = <Date 2020-05-29.13:25:00.812>
labels = ['docs']
title = "Multiprocessing docs don't describe thread-safety"
updated_at = <Date 2020-08-17.18:29:13.905>
user = 'https://github.com/bensimner'

bugs.python.org fields:

activity = <Date 2020-08-17.18:29:13.905>
actor = 'iritkatriel'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2020-05-29.13:25:00.812>
creator = 'bjs'
dependencies = []
files = []
hgrepos = []
issue_num = 40815
keywords = []
message_count = 3.0
messages = ['370310', '375103', '375563']
nosy_count = 4.0
nosy_names = ['docs@python', 'alan.briolat', 'bjs', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue40815'
versions = []

Activity

  1. bensimner commented on May 29, 2020

    bensimnermannequin
    MannequinAuthor

    The Multiprocessing docs specifically say that Queue is process- and thread- safe: https://docs.python.org/3/library/multiprocessing.html#exchanging-objects-between-processes.

    But this information is not given for the various synchronisation primitives and such (Lock, Semaphore, Event, etc)

    Are they thread-safe? Should the docs say whether they are or are not?

  2. iritkatriel commented on Aug 10, 2020

    @iritkatriel
    Member

    Here's an example where such documentation may have helped: https://bugs.python.org/issue40860

  3. iritkatriel commented on Aug 17, 2020

    @iritkatriel
    Member

    Probably another example: bpo-41567

  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions