At 11/1/2005 08:01, you wrote:
while True:
retval=win32event.WaitForMultipleObjects
(self.close_evt,self.accept_evt),False,win32event.INFINITE)
if retval == win32event.WAIT_OBJECT_0:
win32file.CloseHandle(self.accept_evt)
self.socket.
Hi,
> That's the whole advantage of threads: they run independently.
Yes, of course thats the reason. But I struggled into that problem, when I tried
to send LogInfoMsg to the eventlog. (W2K,p2.3.3.pywin202)
def SvcDoRun(self):
import servicemanager
servicemanager.LogMsg(
On Mon, 10 Jan 2005 19:41:55 +0100, [EMAIL PROTECTED] wrote:
Hi all,
I am wondering about the following situation:
I defined a class and inside this class I start a new thread with
thread.start_new_thread. When I set some attributes of that class inside
the thread_function, the attributes are not c
Hi all,
I am wondering about the following situation:
I defined a class and inside this class I start a new thread with
thread.start_new_thread. When I set some attributes of that class inside
the thread_function, the attributes are not changed.
class test:
def __init__(self):
self.pa