summaryrefslogtreecommitdiff
path: root/Python/thread_nt.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-01 23:00:22 +0200
committerChristian Heimes <christian@cheimes.de>2013-07-01 23:00:22 +0200
commit9dc893c954b626685fc5bb12a040e22a41a8958d (patch)
treec42918d40b287e76ae260b4c402ce62ed813087d /Python/thread_nt.h
parentd71dc179c59f0a6e74087ecea134164f0e184ee8 (diff)
parent691afb4d9f2a095f89c6e4011807a185fa661bb7 (diff)
downloadcpython-9dc893c954b626685fc5bb12a040e22a41a8958d.tar.gz
Issue #18339: use with self.assertRaises() to make test case more readable
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r--Python/thread_nt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 938bf1e3fe..bd604fbdd3 100644
--- a/Python/thread_nt.h
+++ b/Python/thread_nt.h
@@ -130,7 +130,7 @@ FreeNonRecursiveMutex(PNRMUTEX mutex)
DWORD
EnterNonRecursiveMutex(PNRMUTEX mutex, DWORD milliseconds)
{
- return WaitForSingleObject(mutex, milliseconds);
+ return WaitForSingleObjectEx(mutex, milliseconds, FALSE);
}
BOOL