<?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[Exceptions aus Thread]]></title><description><![CDATA[<p>Hi,</p>
<p>gibt es eine Best Practice, wie man mit Exceptions umgeht, die in einem Thread geworfen werden? In meinem Fall entwickle ich gerade einen asynch TCP-Server, der natürlich auch mal was werfen kann. Wenn's kritisch ist, fährt er sich runter, aber wie die Exception zum &quot;normalen&quot; User-Code kommt, hm.<br />
Mir würde einfallen, dem Server ein LogFile-Objekt oder eine Callback-Funktion mitzugeben.<br />
Gibt's für sowas ein bewährtes Vorgehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/281911/exceptions-aus-thread</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 13:05:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/281911.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Feb 2011 11:55:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exceptions aus Thread on Thu, 10 Feb 2011 11:55:53 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>gibt es eine Best Practice, wie man mit Exceptions umgeht, die in einem Thread geworfen werden? In meinem Fall entwickle ich gerade einen asynch TCP-Server, der natürlich auch mal was werfen kann. Wenn's kritisch ist, fährt er sich runter, aber wie die Exception zum &quot;normalen&quot; User-Code kommt, hm.<br />
Mir würde einfallen, dem Server ein LogFile-Objekt oder eine Callback-Funktion mitzugeben.<br />
Gibt's für sowas ein bewährtes Vorgehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019105</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019105</guid><dc:creator><![CDATA[fdfdg]]></dc:creator><pubDate>Thu, 10 Feb 2011 11:55:53 GMT</pubDate></item><item><title><![CDATA[Reply to Exceptions aus Thread on Thu, 10 Feb 2011 12:00:30 GMT]]></title><description><![CDATA[<p>Boost.Exception gibt dir Möglichkeiten, Exceptions zwischen Threads zu transportieren. Ob das jetzt ein &quot;bewährtes Verfahren&quot; oder &quot;Best Practice&quot; ist, weiß ich nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019110</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019110</guid><dc:creator><![CDATA[ipsec]]></dc:creator><pubDate>Thu, 10 Feb 2011 12:00:30 GMT</pubDate></item><item><title><![CDATA[Reply to Exceptions aus Thread on Thu, 10 Feb 2011 12:34:57 GMT]]></title><description><![CDATA[<p>Hallo,<br />
VS2010 bietet fogendes an:</p>
<p>Transporting Exceptions Between Threads <a href="http://msdn.microsoft.com/en-us/library/dd293602.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/dd293602.aspx</a></p>
<p>Soviel wie ich verstanden habe ist es ein C++0x Feature.</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019118</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019118</guid><dc:creator><![CDATA[Drehleiter]]></dc:creator><pubDate>Thu, 10 Feb 2011 12:34:57 GMT</pubDate></item><item><title><![CDATA[Reply to Exceptions aus Thread on Thu, 10 Feb 2011 14:52:49 GMT]]></title><description><![CDATA[<p>Ok, das ist doch schon mal was, danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019192</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019192</guid><dc:creator><![CDATA[fdfdg]]></dc:creator><pubDate>Thu, 10 Feb 2011 14:52:49 GMT</pubDate></item></channel></rss>