[Python-checkins] [python/cpython] 1b7863: bpo-30595: Fix multiprocessing.Queue.get(timeout) ...

GitHub noreply at github.com
Sat Jun 10 07:10:14 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 1b7863c3b6519c6e134c28cab8b8af0dea43e375
      https://github.com/python/cpython/commit/1b7863c3b6519c6e134c28cab8b8af0dea43e375
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-10 (Sat, 10 Jun 2017)

  Changed paths:
    M Lib/multiprocessing/queues.py
    M Misc/NEWS

  Log Message:
  -----------
  bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)

multiprocessing.Queue.get() with a timeout now polls its reader in
non-blocking mode if it succeeded to aquire the lock but the acquire
took longer than the timeout.

Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3 at gmail.com>




More information about the Python-checkins mailing list