signal module question
oliver
fwang2 at yahoo.com
Wed May 3 14:21:41 EDT 2000
hi,
I think two or more alarms can be installed, say, one alarm is fired up at
10 seconds interval, the other one 30 seconds interval. My question is can
i use one handler to deal with both alarms?
If the answer is yes, then inside the handler, I need some ways to
distinguish which alarm is triggered (10 sec or 30 sec?). After going
through the reference page on "signal" module, it seems that handler can
only take two arguements, how to "tell" handler more info on the alarm it
is handling?
Thanks
oliver
More information about the Python-list
mailing list