On Wed, Aug 10, 2011 at 2:04 PM, <michael.vancann...@wisa.be> wrote: > > > On Wed, 10 Aug 2011, Max Vlasov wrote: > > Hi, >> >> I tried to implement linux timer with timer_create and signals, but an >> exception always fired (External:SIGUSR1).... >> What can be wrong with the code below? >> > > I assume threads are used for these timers. If so, then this is normal, > signal USR1 is used > by the linux threading mechanism, if I remember correctly. > > I also thought that the signal could be occupied by some api, but changing it to SIGRTMIN + 1, +2,+3 just changes the exception to "External:SIG35", "External:SIG36"... Maybe I should apply the blocking mask for other signal for this api since it probably uses threads?
Max
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal