Title: Use the monotonic clock for thread conditions on POSIX platforms · Issue #67616 · python/cpython · GitHub
Open Graph Title: Use the monotonic clock for thread conditions on POSIX platforms · Issue #67616 · python/cpython
X Title: Use the monotonic clock for thread conditions on POSIX platforms · Issue #67616 · python/cpython
Description: BPO 23428 Nosy @vstinner, @stratakis, @pablogsal, @anikey-m PRs #4964 Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC) Files cond_timedwait_monotonic.pat...
Open Graph Description: BPO 23428 Nosy @vstinner, @stratakis, @pablogsal, @anikey-m PRs #4964 Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOT...
X Description: BPO 23428 Nosy @vstinner, @stratakis, @pablogsal, @anikey-m PRs #4964 Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOT...
Opengraph URL: https://github.com/python/cpython/issues/67616
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use the monotonic clock for thread conditions on POSIX platforms","articleBody":"BPO | [23428](https://bugs.python.org/issue23428)\n--- | :---\nNosy | @vstinner, @stratakis, @pablogsal, @anikey-m\nPRs | \u003cli\u003epython/cpython#4964\u003c/li\u003e\nSuperseder | \u003cli\u003ebpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC)\u003c/li\u003e\nFiles | \u003cli\u003e[cond_timedwait_monotonic.patch](https://bugs.python.org/file38069/cond_timedwait_monotonic.patch \"Uploaded as text/plain at 2015-02-09.22:17:30 by @vstinner\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2019-02-20.01:01:03.341\u003e\ncreated_at = \u003cDate 2015-02-09.21:34:27.880\u003e\nlabels = ['interpreter-core', '3.8']\ntitle = 'Use the monotonic clock for thread conditions on POSIX platforms'\nupdated_at = \u003cDate 2021-10-01.08:48:32.784\u003e\nuser = 'https://github.com/vstinner'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-10-01.08:48:32.784\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2019-02-20.01:01:03.341\u003e\ncloser = 'methane'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2015-02-09.21:34:27.880\u003e\ncreator = 'vstinner'\ndependencies = []\nfiles = ['38069']\nhgrepos = []\nissue_num = 23428\nkeywords = ['patch']\nmessage_count = 12.0\nmessages = ['235637', '235639', '235640', '236156', '273565', '333841', '333844', '333845', '333846', '333851', '336060', '376341']\nnosy_count = 5.0\nnosy_names = ['vstinner', 'neologix', 'cstratak', 'pablogsal', 'anikey']\npr_nums = ['4964']\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '12822'\ntype = None\nurl = 'https://bugs.python.org/issue23428'\nversions = ['Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2015-02-09T21:34:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/67616/cpython/issues/67616"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b001fc4-6bd7-1cdf-23a6-c1396c938c68 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E580:512E3:6739D5F:921F6AC:6A4FF975 |
| html-safe-nonce | 574501e1eb0d100a26452ae9a90c24e066f490dd6ba1ff15aba8f2e46ea9f28b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTgwOjUxMkUzOjY3MzlENUY6OTIxRjZBQzo2QTRGRjk3NSIsInZpc2l0b3JfaWQiOiI5MTA1MzgwNjM1ODI1OTEzNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 545705a800e2101e81135578906c23ca72978e19e9394198984ee57c61c464e3 |
| hovercard-subject-tag | issue:1198931344 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/67616/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb6c2e45ea393648256a99bac26e7e1db449be141aa4cc56b4b645c1ccbbb93e/python/cpython/issues/67616 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb6c2e45ea393648256a99bac26e7e1db449be141aa4cc56b4b645c1ccbbb93e/python/cpython/issues/67616 |
| og:image:alt | BPO 23428 Nosy @vstinner, @stratakis, @pablogsal, @anikey-m PRs #4964 Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOT... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 67a336083e4dcb40224dc2c01cd4c7ed413bdb09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width