[python-win32] Win32 WaitableTimers and Python?
Graham Klyne
GK-lists at ninebynine.org
Wed Jul 16 18:09:32 EDT 2003
Hi,
I've been hunting through the book "Python Programming on Win32",
associated web pages, and Googling the web in general, without much
success, for an indication of whether CreateWaitableTimer and friends can
be used from Python; cf.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createwaitabletimer.asp
In particular, I'm looking to use timers to do periodic polling functions
in a service process. I think I can use win32api.sleep for now, but I
don't like hogging a thread in this way. Being a service process, I think
the window-based timers are inappropriate (if not impossible) to use here.
Any thoughts?
(I'm not subscribed to this list, so please copy me on any comments.)
Thanks.
#g
-------------------
Graham Klyne
<GK at NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9 A131 01B9 1C7A DBCA CB5E
More information about the Python-win32
mailing list