[fpc-pascal] timer_create on linux

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Aug 10 12:04:13 CEST 2011



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).
> It was a lcl program, but I narrowed it to a console one.
> Here is the lines without extra codes of releasing (the error appears
> before),
> 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.

Michael.




More information about the fpc-pascal mailing list