Displaying 2 results from an estimated 2 matches for "start_pend".
Did you mean:
start_send
2004 Feb 02
4
Hooks for win32-service
...............A power event has occured (eg change to battery
power).
session_change...........There has been a change in session.
user_defined.............A user defined event has been sent to the
service.
We can change the names as we see fit obviously. Should we also add
hooks for pause_pending, start_pending, and stop_pending?
I''m primarily concerned with the start, stop, continue, running and
shutdown hooks. At least that''s where I''d like to start initially.
I''m not sure what Python defines.
Just some ideas. :)
Regards,
Dan
2006 Dec 07
0
Fwd: win32-service problems with patch
...s reliable.
Here are a summary of the changes:
Logic changes:
* now service_init is called before anything is actually done
thread-wise (green or real). So, service_init needs to be fast, since
it''s done before the StartServiceCtrl stuff (SCM will be waiting). I
may change this so that START_PENDINGs are sent while in service_init,
but because that greatly complicated matters, and I was just trying to
get something that WORKED first, the current code does not do this.
* now the service terminates if service_init or service_main exit or
raise exceptions.
Problems I encountered or resolved:...