Re: [fpc-pascal] timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 2:04 PM, 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 fo

Re: [fpc-pascal] timer_create on linux

2011-08-10 Thread michael . vancanneyt
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),