summaryrefslogtreecommitdiffstats
path: root/Modules/expat/expat_config.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-19 09:50:21 (GMT)
committerGitHub <noreply@github.com>2022-06-19 09:50:21 (GMT)
commit2664d9aacf25aa18e1753e57f80f345ed9bd31e0 (patch)
tree6e976fb6478eb26a7ca695ae4331ed334ed39e82 /Modules/expat/expat_config.h
parentdba3fa57e26c5b0f7a4bfd3228a9bc109f35b6c8 (diff)
downloadcpython-2664d9aacf25aa18e1753e57f80f345ed9bd31e0.zip
cpython-2664d9aacf25aa18e1753e57f80f345ed9bd31e0.tar.gz
cpython-2664d9aacf25aa18e1753e57f80f345ed9bd31e0.tar.bz2
gh-74953: Reformat PyThread_acquire_lock_timed() (#93947)
Reformat the pthread implementation of PyThread_acquire_lock_timed() using a mutex and a conditioinal variable. * Add goto to avoid multiple indentation levels and exit quickly * Use "while(1)" and make the control flow more obvious. * PEP 7: Add braces around if blocks.
Diffstat (limited to 'Modules/expat/expat_config.h')
0 files changed, 0 insertions, 0 deletions