in reply to More than one alarm-call at a time
I may be being nieve here, but why can't you just fork for each server? Then each process will have its own SIGALRM. Of course, you would probably need to do some IPC between the children and parent, but there are a number of very nice CPAN modules for that depending upon your IPC needs.
There is always select too, but i dont know how your server connections are implemented, so that may not be relevant.
I am intrigued by this problem though, can you provide any more details?
-stvn
|
|---|