[python-win32] Multithreaded Service

Christopher A. Nethery can at wasmerschroeder.com
Wed Aug 16 01:11:30 CEST 2006


I am new to this group, but I'm hoping someone could offer some advice
as to a complicated issue I am having.

I have created a (multithreaded) Python application that performs
asynchronous queries. Unfortunately, I'm having a very difficult time
setting it up as a service.

It should run as follows:

1) A remote server starts the service
2) while the service is running, it performs its asynchronous
lookups--something like:

while 1:

ASYNCH_QUERY()

time.sleep(30)
else:

sys.exit()

I have taken a look at the pipeTestServiceClient.py and
pipeTestService.py examples from win32all build 209, but I couldn't
figure out how to adapt it to my own code, since nothing needs to be
echoed back to the "invoking" server. Does anyone have any ideas?


Thanking you in advance,

CAN

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20060815/26753861/attachment.htm 


More information about the Python-win32 mailing list