<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt and Posix timers]]></title><description><![CDATA[<p dir="auto">Hi everyone, it is the first time I write here and I hope you can help me.</p>
<p dir="auto">I am developing a program, A, in which I read from a device (server, B) via UDP (using QUdpSocket) make some calculations and send via UDP the results to another Qt program, C, to show them in a little GUI. I have been using Qtimers, and it worked fine but as I need more accuracy I have had to change these timers for posix timers. Now, when I start to send the data from A to C, the GUI in A gets frozen.</p>
<p dir="auto">If I change the writeDatagram in program A for an: cout &lt;&lt; "whatever"; the GUI does not get frozen.</p>
<p dir="auto">Does anybody know why this happen, is it a problem with the signals? could be a problem for having changed the methods to static? I had to do this because posix timers call static methods.</p>
<p dir="auto">thanks.</p>
]]></description><link>https://forum.qt.io/topic/19122/qt-and-posix-timers</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 07:12:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/19122.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Aug 2012 14:53:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt and Posix timers on Wed, 22 Aug 2012 16:36:58 GMT]]></title><description><![CDATA[<p dir="auto">Try to post some piece of code to make your question more clear.</p>
<p dir="auto">There is no problems with signals and QTimers are good.</p>
<p dir="auto">See if you have some loop that could make the UI get frozen.</p>
]]></description><link>https://forum.qt.io/post/148236</link><guid isPermaLink="true">https://forum.qt.io/post/148236</guid><dc:creator><![CDATA[cmazieri]]></dc:creator><pubDate>Wed, 22 Aug 2012 16:36:58 GMT</pubDate></item></channel></rss>