Skip to content

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

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

Merged
merged 2 commits into from
Jul 6, 2018
Merged

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

merged 2 commits into from
Jul 6, 2018

Conversation

vstinner
Copy link
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
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 <[email protected]>
@bedevere-bot
Copy link

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 <[email protected]>
@bedevere-bot
Copy link

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 <[email protected]>
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 <[email protected]>
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