[AD] SIGALRM/SIGVTALRM

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: SIGALRM/SIGVTALRM

In another thread, I wrote:

> had to change timer to make profiling work, is this something
> that ought to go into Allegro ?) but I think it had to do with

I've diffed the relevant part, if you are interested in patching
Allegro. Basically, without this, profiling doesn't work at all.
I did that more than a year ago, so I don't remember the specifics
but it's probably that profiling uses SIGALRM (though I don't see
why it would use it instead of SIGPROF, but anyway).
I don't claim to understand what I'm doing, so if people like,
say, George Foot, are there, maybe they could enlighten us with
more information on the subject, and whether this patch is correct
or a hack ?

--
Vincent Penquerc'h

 

Attachment: timer.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/