disable windows hang checking for now, bug 525370 filed to sort it out

This commit is contained in:
Ted Mielczarek 2009-10-29 20:25:58 -04:00
Родитель b80d2f6d3c
Коммит 3548a50c5f
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -441,6 +441,11 @@ def environment(env = None, xrePath = DIST_BIN, crashreporter = True):
return env
if IS_WIN32:
#XXX: disabled on windows for now, see bug 525370
def readWithTimeout(f, timeout):
return (f.readline(), False)
elif False:
#XXX: figure out what's going wrong with this code!
import ctypes, time, msvcrt
PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
GetLastError = ctypes.windll.kernel32.GetLastError