<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Logging in Qt land</title>
	<atom:link href="http://blog.codeimproved.net/2010/03/logging-in-qt-land/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codeimproved.net/2010/03/logging-in-qt-land/</link>
	<description></description>
	<lastBuildDate>Fri, 24 Dec 2010 15:45:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: proc</title>
		<link>http://blog.codeimproved.net/2010/03/logging-in-qt-land/comment-page-1/#comment-18</link>
		<dc:creator>proc</dc:creator>
		<pubDate>Fri, 02 Apr 2010 18:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codeimproved.net/?p=89#comment-18</guid>
		<description>Very nice! It&#039;s funny that your thought process was exactly the same as mine, but I hadn&#039;t yet figure out the &quot;the simpler solution&quot;. Thanks!</description>
		<content:encoded><![CDATA[<p>Very nice! It&#8217;s funny that your thought process was exactly the same as mine, but I hadn&#8217;t yet figure out the &#8220;the simpler solution&#8221;. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rpg</title>
		<link>http://blog.codeimproved.net/2010/03/logging-in-qt-land/comment-page-1/#comment-17</link>
		<dc:creator>rpg</dc:creator>
		<pubDate>Thu, 01 Apr 2010 12:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codeimproved.net/?p=89#comment-17</guid>
		<description>Hi Mitch,
It should work in mt programs, including on multicore pcs, the non thread safe parts are hidden behind a mutex.

Installing destinations is not thread-safe though, you need to init the log and add them preferably in your main function.

I can see that line 148 is a call to the write function of destinations. A segfault here could mean that a destination is null.
Is the assert triggered in debug?

I&#039;ll take a look and see what I can find, this weekend I want to add some improvements and docs.</description>
		<content:encoded><![CDATA[<p>Hi Mitch,<br />
It should work in mt programs, including on multicore pcs, the non thread safe parts are hidden behind a mutex.</p>
<p>Installing destinations is not thread-safe though, you need to init the log and add them preferably in your main function.</p>
<p>I can see that line 148 is a call to the write function of destinations. A segfault here could mean that a destination is null.<br />
Is the assert triggered in debug?</p>
<p>I&#8217;ll take a look and see what I can find, this weekend I want to add some improvements and docs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitch</title>
		<link>http://blog.codeimproved.net/2010/03/logging-in-qt-land/comment-page-1/#comment-16</link>
		<dc:creator>Mitch</dc:creator>
		<pubDate>Wed, 31 Mar 2010 19:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codeimproved.net/?p=89#comment-16</guid>
		<description>Hi, I tested your QsLog logger in a Qt project of mine, and I like it very much. But it gives segfaults (on line 148 of QsLog.cpp) when used in slots called by a signal. I suppose it does not support multi threaded apps? What can I do to fix this issue?</description>
		<content:encoded><![CDATA[<p>Hi, I tested your QsLog logger in a Qt project of mine, and I like it very much. But it gives segfaults (on line 148 of QsLog.cpp) when used in slots called by a signal. I suppose it does not support multi threaded apps? What can I do to fix this issue?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: blog.codeimproved.net @ 2012-02-05 19:39:51 -->
