diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-01 23:00:22 +0200 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-01 23:00:22 +0200 |
commit | 9dc893c954b626685fc5bb12a040e22a41a8958d (patch) | |
tree | c42918d40b287e76ae260b4c402ce62ed813087d /Python/thread_nt.h | |
parent | d71dc179c59f0a6e74087ecea134164f0e184ee8 (diff) | |
parent | 691afb4d9f2a095f89c6e4011807a185fa661bb7 (diff) | |
download | cpython-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.h | 2 |
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 |