Skip to content

bpo-34054: multiprocessing uses time.monotonic()#8118

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:mp_monotonic
Jul 6, 2018
Merged

bpo-34054: multiprocessing uses time.monotonic()#8118
vstinner merged 2 commits intopython:masterfrom
vstinner:mp_monotonic

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Jul 5, 2018

The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeout.

https://bugs.python.org/issue34054

The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeout.
@vstinner vstinner merged commit c2368cb into python:master Jul 6, 2018
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@vstinner vstinner deleted the mp_monotonic branch July 6, 2018 11:51
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 6, 2018
The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeouts.
(cherry picked from commit c2368cb)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@bedevere-bot
Copy link
Copy Markdown

GH-8139 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 6, 2018
The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeouts.
(cherry picked from commit c2368cb)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@bedevere-bot
Copy link
Copy Markdown

GH-8140 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit that referenced this pull request Jul 6, 2018
The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeouts.
(cherry picked from commit c2368cb)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
miss-islington added a commit that referenced this pull request Jul 6, 2018
The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeouts.
(cherry picked from commit c2368cb)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants