<?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[thread anhalten]]></title><description><![CDATA[<p>abend,<br />
ich möchte einen thread, den ich mit _beginthread erstellt hab anhalten bis ein gewissen ereignis eintritt, das in einem andern thread bearbeitet wird.<br />
nun wollte ich das ganze folgendermaßen machen:</p>
<pre><code class="language-cpp">while(!ereignis) {}
</code></pre>
<p>das problem ist nur, dass das ganze programm plötzlich sehr langsam läuft während sich der thread in der schleife befindet.<br />
warum ist das so?<br />
gibt es eine möglichkeit einen thread ohne diesen seiteneffekt anzuhalten?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/161130/thread-anhalten</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 13:52:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/161130.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Oct 2006 17:50:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to thread anhalten on Tue, 03 Oct 2006 17:50:05 GMT]]></title><description><![CDATA[<p>abend,<br />
ich möchte einen thread, den ich mit _beginthread erstellt hab anhalten bis ein gewissen ereignis eintritt, das in einem andern thread bearbeitet wird.<br />
nun wollte ich das ganze folgendermaßen machen:</p>
<pre><code class="language-cpp">while(!ereignis) {}
</code></pre>
<p>das problem ist nur, dass das ganze programm plötzlich sehr langsam läuft während sich der thread in der schleife befindet.<br />
warum ist das so?<br />
gibt es eine möglichkeit einen thread ohne diesen seiteneffekt anzuhalten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148803</guid><dc:creator><![CDATA[krabbels]]></dc:creator><pubDate>Tue, 03 Oct 2006 17:50:05 GMT</pubDate></item><item><title><![CDATA[Reply to thread anhalten on Tue, 03 Oct 2006 18:00:53 GMT]]></title><description><![CDATA[<p>@Mods: BItte löschen, das ist offensichtlich ein Virenschreibversuch!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148810</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148810</guid><dc:creator><![CDATA[!!!!!! ACHTUNG !!!!!!!!!]]></dc:creator><pubDate>Tue, 03 Oct 2006 18:00:53 GMT</pubDate></item><item><title><![CDATA[Reply to thread anhalten on Tue, 03 Oct 2006 18:03:54 GMT]]></title><description><![CDATA[<p>weil?<br />
auf deine brgüdnung bin ich ja mal echt gespannt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148815</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148815</guid><dc:creator><![CDATA[krabbels]]></dc:creator><pubDate>Tue, 03 Oct 2006 18:03:54 GMT</pubDate></item><item><title><![CDATA[Reply to thread anhalten on Tue, 03 Oct 2006 18:35:34 GMT]]></title><description><![CDATA[<p>Schau mal nach WaitForSingleObject.<br />
Das was du da machst nennt sich <a href="http://de.wikipedia.org/wiki/Aktives_Warten" rel="nofollow">busy waiting</a>.</p>
<p>Gruss Spacelord</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148839</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148839</guid><dc:creator><![CDATA[Spacelord]]></dc:creator><pubDate>Tue, 03 Oct 2006 18:35:34 GMT</pubDate></item><item><title><![CDATA[Reply to thread anhalten on Tue, 03 Oct 2006 20:57:22 GMT]]></title><description><![CDATA[<p>CreateEvent, WaitForSingleObject, SetEvent</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148907</guid><dc:creator><![CDATA[cws]]></dc:creator><pubDate>Tue, 03 Oct 2006 20:57:22 GMT</pubDate></item><item><title><![CDATA[Reply to thread anhalten on Wed, 04 Oct 2006 09:37:41 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1149085</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1149085</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 04 Oct 2006 09:37:41 GMT</pubDate></item></channel></rss>