<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>25 May 2019 13:33:56 Z</lastBuildDate><pubDate>22 May 2019 18:08:00 Z</pubDate><description>bonjour à tous,&#13;
j'aimerai savoir si ce que je fais dans mes thread est correcte ou pas:&#13;
dans un programme je lance plusieurs thread qui font appel à une dll (assemblage .net).&#13;
Dans un thread, une fois que la fonction assurée par la dll est (censée) être terminée, j'ai mis la commande "threadarrête"&#13;
pour être certain que le thread soit arrête.&#13;
ce threadarrête arrive à la fin de mon thread... du coup est-ce qu'il est nécessaire ? inutile ? très risqué ?&#13;
&#13;
autre pb: la dll en question fait de l'automation sur Inventor : or il y a des enregistrements sur disque avec des histoires de cache (donc les enregistrements peuvent se faire APRES la fin des traitements et ce sans trop de contrôle...&#13;
est-ce que le threadarrête peut stopper des éléments une fois que la dll a redonné la main ?&#13;
&#13;
concernant threadattends, j'ai eu le cas où malgré un délai infini, threadattends renvoi faux ! comment est-ce possible ? (c'est la raison principale de la présence de threadarrête dans mes thread).&#13;
D'avance merci de votre aide !</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique/read.awp</link><title>Thread, threadattend, threadarrête et bonne pratique</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>THEWORLDASGARP</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230394/read.awp</comments><pubDate>25 May 2019 13:33:56 Z</pubDate><description>Bonjour,&#13;
&#13;
  Pour l’échange  d'information entre thread, regarde aussi la variable &lt;Pile&gt; :&#13;
   https://doc.pcsoft.fr/fr-FR/?10…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230394/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230394/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique/read.awp">Thread, threadattend, threadarrête et bonne pratique</source><title>Re: Thread, threadattend, threadarrête et bonne pratique</title></item><item><author>JPB</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230349/read.awp</comments><pubDate>23 May 2019 15:15:14 Z</pubDate><description>oh merci !!&#13;
je vais regarder ça</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230349/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230349/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique/read.awp">Thread, threadattend, threadarrête et bonne pratique</source><title>Re: Thread, threadattend, threadarrête et bonne pratique</title></item><item><author>Marret</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230338/read.awp</comments><pubDate>23 May 2019 13:31:29 Z</pubDate><description>Bonjour JPB,&#13;
&#13;
Comme personne n'intervient sur ton sujet (bien complexe), je vais te donner mon avis sur la méthode que j'utili…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230338/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique-230338/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230325-thread-threadattend-threadarrete-bonne-pratique/read.awp">Thread, threadattend, threadarrête et bonne pratique</source><title>Re: Thread, threadattend, threadarrête et bonne pratique</title></item></channel></rss>
