<?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[Kommunikation zwischen Threads]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe ein paar Fragen an euch.</p>
<p>Das Problem ist folgendes:<br />
Ich habe eine Fehlerroutine, die als Thread im Hintergrund läuft:<br />
long WINAPI handle_error()<br />
Darin stehen einige switch funktionen:<br />
z.B.<br />
switch ( WSAGetLastError() )<br />
{<br />
case WSANOTINITIALISED :<br />
printf(&quot;Unable to initialise socket.\n&quot;); ....</p>
<p>dann gibt es das main programm.<br />
Nun will ich vom Main Programm auf das &quot;handle_error Thread&quot; Datenschicken, die dann das Thread im Hintergrund abarbeitet. Ohne das Main-Programm zu stören.<br />
Wie funktioniert das?</p>
<p>Danke und schöne Grüße aus dem rgnerischen Bayern<br />
Tentone</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/217391/kommunikation-zwischen-threads</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 11:17:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/217391.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jul 2008 11:46:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kommunikation zwischen Threads on Mon, 07 Jul 2008 11:46:39 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe ein paar Fragen an euch.</p>
<p>Das Problem ist folgendes:<br />
Ich habe eine Fehlerroutine, die als Thread im Hintergrund läuft:<br />
long WINAPI handle_error()<br />
Darin stehen einige switch funktionen:<br />
z.B.<br />
switch ( WSAGetLastError() )<br />
{<br />
case WSANOTINITIALISED :<br />
printf(&quot;Unable to initialise socket.\n&quot;); ....</p>
<p>dann gibt es das main programm.<br />
Nun will ich vom Main Programm auf das &quot;handle_error Thread&quot; Datenschicken, die dann das Thread im Hintergrund abarbeitet. Ohne das Main-Programm zu stören.<br />
Wie funktioniert das?</p>
<p>Danke und schöne Grüße aus dem rgnerischen Bayern<br />
Tentone</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1542524</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1542524</guid><dc:creator><![CDATA[Tentone]]></dc:creator><pubDate>Mon, 07 Jul 2008 11:46:39 GMT</pubDate></item><item><title><![CDATA[Reply to Kommunikation zwischen Threads on Mon, 07 Jul 2008 11:55:22 GMT]]></title><description><![CDATA[<p>über events, sempahoren, mutexes, critical sections, messages...<br />
je nach OS.</p>
<p>Simon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1542533</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1542533</guid><dc:creator><![CDATA[simon.gysi]]></dc:creator><pubDate>Mon, 07 Jul 2008 11:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to Kommunikation zwischen Threads on Mon, 07 Jul 2008 17:55:41 GMT]]></title><description><![CDATA[<p>Nee - jeder thread ist ein eigenständiger Prozess! Eine Kommunikation zwischen diesen kann also über die thread-handles mit SendMessage erfolgen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1542931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1542931</guid><dc:creator><![CDATA[berniebutt]]></dc:creator><pubDate>Mon, 07 Jul 2008 17:55:41 GMT</pubDate></item><item><title><![CDATA[Reply to Kommunikation zwischen Threads on Mon, 07 Jul 2008 18:16:53 GMT]]></title><description><![CDATA[<p>Ein Thread ist ein Thread ist ein Thread,<br />
ein Prozess ist ein Prozess ist ein Prozess ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1542943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1542943</guid><dc:creator><![CDATA[_mgs]]></dc:creator><pubDate>Mon, 07 Jul 2008 18:16:53 GMT</pubDate></item><item><title><![CDATA[Reply to Kommunikation zwischen Threads on Mon, 07 Jul 2008 18:19:25 GMT]]></title><description><![CDATA[<p>main -&gt; thread: CreateEvent, SetEvent, WaitForSingleObject ...<br />
thread -&gt; main: PostMessage ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1542946</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1542946</guid><dc:creator><![CDATA[_mgs]]></dc:creator><pubDate>Mon, 07 Jul 2008 18:19:25 GMT</pubDate></item></channel></rss>