[llvm-commits] [PATCH] lit/TestRunner.py: [Win32] Introduce WinWaitReleased(f), to wait for file handles released.

NAKAMURA Takumi geek4civic at gmail.com
Tue Nov 22 04:41:25 PST 2011


When wait() has finished, it tends opened handles (especially writing
stdout to file) might not be released immediately.
To wait for released, poll to attempt renaming.
---
 utils/lit/lit/TestRunner.py |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lit-TestRunner.py-Win32-Introduce-WinWaitRelease.patch.txt
Type: text/x-patch
Size: 2306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111122/1466ee32/attachment.bin>


More information about the llvm-commits mailing list