Setitimer?

Donn Cave donn at drizzle.com
Fri Jun 29 12:12:47 EDT 2001


Quoth "Drop Anchor!!" <sapsi at bigfoot.com>:

| I wish to use the setitimer c call , specifically to set off a SIGALRM every
| 1 second. How would i do this in python, how do i access the setitimer call
| ?

You will have to write a C module.  The alarm() function in the signal
module will do that, though, if that's all you want.  But if there's
any way to do what you want without catching signals, that would be
worth some effort, since it isn't nearly as much fun in Python as it
is in C.

	Donn Cave, donn at drizzle.com



More information about the Python-list mailing list