Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3349bca4
Commit
3349bca4
authored
May 18, 2011
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch
written by Charles-François Natali.
parent
5ee0567b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/test/lock_tests.py
Lib/test/lock_tests.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/lock_tests.py
View file @
3349bca4
...
...
@@ -472,7 +472,7 @@ class ConditionTests(BaseTestCase):
self
.
assertEqual
(
state
,
4
)
b
=
Bunch
(
f
,
1
)
b
.
wait_for_started
()
for
i
in
range
(
5
):
for
i
in
range
(
4
):
time
.
sleep
(
0.01
)
with
cond
:
state
+=
1
...
...
Misc/NEWS
View file @
3349bca4
...
...
@@ -75,6 +75,9 @@ Tools/Demos
Tests
-----
- Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch
written by Charles-François Natali.
- Issue #11614: import __hello__ prints "Hello World!". Patch written by
Andreas Stührk.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment