<?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[Ermitteln ob ein Thread noch lebt?]]></title><description><![CDATA[<p>Hallo,<br />
bin grad am Debuggen meiner &quot;multi&quot;-Thread anwendung! Habe das gefühl das ein Thread gekillt wird, und nun die Frage! Kann ich über das Handle oder ID Checken ob der Thread noch läuft?</p>
<p>grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192666/ermitteln-ob-ein-thread-noch-lebt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 21:39:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192666.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Sep 2007 11:50:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 11:50:53 GMT]]></title><description><![CDATA[<p>Hallo,<br />
bin grad am Debuggen meiner &quot;multi&quot;-Thread anwendung! Habe das gefühl das ein Thread gekillt wird, und nun die Frage! Kann ich über das Handle oder ID Checken ob der Thread noch läuft?</p>
<p>grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1366881</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1366881</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Mon, 17 Sep 2007 11:50:53 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 11:56:35 GMT]]></title><description><![CDATA[<p>Was meinst du mit &quot;lebt&quot;? Du kannst per WaitForSingleObject() und Co. feststellen, ob der Thread noch existiert (zumindest solange wie dein Handle noch gültig ist). Um festzustellen, ob der Thread noch reaktionsfähig/-bereit ist, mußt du dir einen eigenen Mechanismus vorbereiten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1366885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1366885</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 17 Sep 2007 11:56:35 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 11:57:47 GMT]]></title><description><![CDATA[<p>Was hat das mit C++ zu tun? Mag sein, dass es für deine Plattform ein Tool gibt, dass das kann oder vielleicht kann das dein Debugger.</p>
<p>Aber wie soll denn ein Thread ausversehen gekillt werden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1366886</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1366886</guid><dc:creator><![CDATA[Helium]]></dc:creator><pubDate>Mon, 17 Sep 2007 11:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 11:58:10 GMT]]></title><description><![CDATA[<p>da nun nicht verraten hast, wo du deinen thread nutzt, kann ich dir nur sagen: es gibt normalerweise einen isRunning() oder ähnlich lautenden befehl, der überprüft, ob der thread gerade läuft.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1366887</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1366887</guid><dc:creator><![CDATA[ghorst]]></dc:creator><pubDate>Mon, 17 Sep 2007 11:58:10 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 13:53:53 GMT]]></title><description><![CDATA[<p>Ja hab da einige symthome, wobei die syncronisation &quot;soweit&quot; funktioniet! Da problem ist das es ab unzu klaptt und ab und zu nicht.. vll. doch ein sync. Problem! Habe in den Thread schleifen debug ausgaben drin, und es scheint mir das plötzlich ein thread beendet wird, was eigentlich einfach so nicht geht! Was passiert denn, wenn ich auf ein fertigen thread &quot;watiforsingleObjct&quot; anwenden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367008</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Mon, 17 Sep 2007 13:53:53 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 14:00:11 GMT]]></title><description><![CDATA[<p>WaitFor... warten darauf, daß Sync-Objekte signalisiert werden (Events gesetzt etc) - bei Threads steht das für &quot;beendet&quot;. D.h. du kannst die Rückgabe von <code>WaitForSingleObject(my_thread,0)</code> auswerten und erhältst entweder WAIT_OBJECT_0 (Thread wurde beendet) oder WAIT_TIMEOUT (Thread läuft noch)<sup>*</sup>.</p>
<p>Aber eventuell solltest du dir mal im Debugger ansehen, was da wirklich los ist.</p>
<p><sup>*</sup> oder WAIT_FAILED - aber dann ist vermutlich dein Thread-Handle nicht mehr gültig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367015</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 17 Sep 2007 14:00:11 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Mon, 17 Sep 2007 16:13:22 GMT]]></title><description><![CDATA[<p>ja muss ich mir Morgenfrüh mit klaren Kopf nochmal anschaun:) Seltsame Alomanien;)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367132</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Mon, 17 Sep 2007 16:13:22 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Tue, 18 Sep 2007 05:12:05 GMT]]></title><description><![CDATA[<p>So jetzt.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> Morgens ist man halt einfach Mental und Geistig fitter:) Das Problem war, das der Thread wirklich aufeinmal Tod war, ohne Kill oder Exit Thread aufzurufen! Grund war, das ich ein dyn. Sleep Variablen hatte, wear die kleiner 0 dann hast den Thread aufgelöst:)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367383</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367383</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Tue, 18 Sep 2007 05:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Tue, 18 Sep 2007 06:07:48 GMT]]></title><description><![CDATA[<p>jaja, multithreading mit bedacht einsetzen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> häufig schiesst man sich damit eher ins bein, als dass es nen echten vorteil bringt :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367404</guid><dc:creator><![CDATA[thordk]]></dc:creator><pubDate>Tue, 18 Sep 2007 06:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Tue, 18 Sep 2007 06:46:22 GMT]]></title><description><![CDATA[<p>jepp, bei mir gehts leider nich ohne... aber solangsam komm ich in die Mutlithreading Parallel/Syncronisations-Denken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367428</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Tue, 18 Sep 2007 06:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to Ermitteln ob ein Thread noch lebt? on Tue, 18 Sep 2007 12:55:10 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" 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/1367724</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367724</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 18 Sep 2007 12:55:10 GMT</pubDate></item></channel></rss>