Changeset f92065d25698…
Parent 942100ba2e6b…
by
Changes to one file · Browse files at f92065d25698 Showing diff from parent 942100ba2e6b Diff from another changeset...
@@ -168,7 +168,7 @@ except:
pass
cnt += 1
-
+
if self.pipethread.isAlive():
print "WARNING: unable to stop server after %d trys." % max_try
return False
@@ -368,12 +368,12 @@ # Create an event which we will use to wait on.
# The "service stop" request will set this event.
self.hWaitStop = win32event.CreateEvent(None, 0, 0, None)
-
+
# We need to use overlapped IO for this, so we dont block when
# waiting for a client to connect. This is the only effective way
# to handle either a client connection, or a service stop request.
self.overlapped = pywintypes.OVERLAPPED()
-
+
# And create an event to be used in the OVERLAPPED object.
self.overlapped.hEvent = win32event.CreateEvent(None,0,0,None)
|
Loading...