<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Dec 2015 06:17:00 Z</lastBuildDate><pubDate>4 Dec 2015 19:51:00 Z</pubDate><description>Does ServiceWait() pause a running thread? My gut (after a bunch of logging) says yes.&#13;
Anyone know how to allow a thread to continue running?&#13;
&#13;
Already tried skipping the ServiceWait if the ThreadState = ThreadRunning&#13;
but that caused the service to run constantly without break.&#13;
&#13;
IF ThreadState(THREAD_NAME) = threadUnknown THEN&#13;
    ServiceWait(Glo.nWaitMs)&#13;
END&#13;
&#13;
Thanks!&#13;
Georgio</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19/read.awp</link><title>ServiceWait() and Threads - WD19</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19-55361/read.awp</comments><pubDate>7 Dec 2015 06:17:00 Z</pubDate><description>Hi Steve,&#13;
&#13;
I'm looking to avoid the ServiceWait only when the thread is running. I'm running&#13;
a single thread independent of t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19-55361/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19-55361/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19/read.awp">ServiceWait() and Threads - WD19</source><title>Re: ServiceWait() and Threads - WD19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19-55358/read.awp</comments><pubDate>7 Dec 2015 03:16:00 Z</pubDate><description>Have you looked at ThreadPause()&#13;
http://doc.windev.com/en-US/?3077029&amp;name=threadpause_function&amp;product=WD&amp;verdisp=190</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19-55358/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19-55358/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55315-servicewait-and-threads-wd19/read.awp">ServiceWait() and Threads - WD19</source><title>Re: ServiceWait() and Threads - WD19</title></item></channel></rss>
