<div dir="ltr">Hi again!<div><br></div><div>I'm still fighting with timers on Linux, and due a lot of "problems" using timer_create and signals on Lazarus, I decided to change my implementation to to user timerfd_create. My current question is: TApplication has some mechanism that check periodically changes in a file descriptor?  </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-05 17:58 GMT-03:00 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On Sat, 5 Mar 2016, Fabio Luis Girardi wrote:<br>
<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Lazarus/Freepascal has some config to ignore a signal?<br>
</blockquote>
<br></span>
No, you must install this yourself using the unix,baseunix units.<br>
<br>
Michael.<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2016-03-05 15:34 GMT-03:00 Michael Van Canneyt <<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Sat, 5 Mar 2016, Fabio Luis Girardi wrote:<br>
<br>
Hi all!<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'm searching a way to implement a TFPTimer that don't uses threads. On<br>
Linux and FreeBSD I found the timer_create and family functions. My<br>
question is: What these functions has wrong?<br>
<br>
</blockquote>
<br>
Nothing except that they are not cross platform.<br>
<br>
Or the use of these functions should be avoided? Or because simply nobody<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
want to do that?<br>
<br>
</blockquote>
<br>
No, a unix-only TFPTimer driver using these functions can be implemented<br>
if you so wish it.<br>
<br>
I would definitely accept patches for it.<br>
<br>
Michael.<br>
<br>
</blockquote>
<br>
<br>
<br>
-- <br>
The best regards,<br>
<br>
Fabio Luis Girardi<br>
PascalSCADA Project<br>
<a href="http://sourceforge.net/projects/pascalscada" rel="noreferrer" target="_blank">http://sourceforge.net/projects/pascalscada</a><br>
<a href="http://www.pascalscada.com" rel="noreferrer" target="_blank">http://www.pascalscada.com</a><br>
<br>
</blockquote></span>
_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br><a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a></div>
</div>