Skip to content

Simplify and improve Thread.join()Β #51472

Closed

Description

@pitrou
BPO 7223
Nosy @gpshead, @pitrou, @benjaminp
Files
  • join.patch
  • 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 = <Date 2009-10-27.23:36:40.991>
    created_at = <Date 2009-10-27.23:30:53.999>
    labels = ['type-bug', 'library']
    title = 'Simplify and improve Thread.join()'
    updated_at = <Date 2009-10-27.23:36:40.990>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2009-10-27.23:36:40.990>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-10-27.23:36:40.991>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2009-10-27.23:30:53.999>
    creator = 'pitrou'
    dependencies = []
    files = ['15216']
    hgrepos = []
    issue_num = 7223
    keywords = ['patch']
    message_count = 4.0
    messages = ['94587', '94589', '94590', '94591']
    nosy_count = 4.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'jyasskin', 'benjamin.peterson']
    pr_nums = []
    priority = 'low'
    resolution = 'rejected'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7223'
    versions = ['Python 2.7', 'Python 3.2']

    Activity

    1. pitrou commented on Oct 27, 2009

      @pitrou
      MemberAuthor

      This patch improves and simplifies Thread.join() by making sure that the
      __bootstrap() method is finished before join() returns. While it does
      improve the resource deallocation behaviour, it is still enough for
      solving all refleak detection hazards (see bpo-7222).

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Oct 27, 2009
    3. pitrou commented on Oct 27, 2009

      @pitrou
      MemberAuthor

      (I meant not enough, of course)

    4. benjaminp commented on Oct 27, 2009

      @benjaminp
      Contributor

      This patch relies on ref counting behavior, an unfortunate side-effect
      for other implementations.

    5. pitrou commented on Oct 27, 2009

      @pitrou
      MemberAuthor

      Indeed. Let's consider it closed then.

    6. 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

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions