|
| ServiceWait() and Threads - WD19 |
| Iniciado por guest, 04,dic. 2015 19:51 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 04,diciembre 2015 - 19:51 |
Does ServiceWait() pause a running thread? My gut (after a bunch of logging) says yes. Anyone know how to allow a thread to continue running?
Already tried skipping the ServiceWait if the ThreadState = ThreadRunning but that caused the service to run constantly without break.
IF ThreadState(THREAD_NAME) = threadUnknown THEN ServiceWait(Glo.nWaitMs) END
Thanks! Georgio |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,diciembre 2015 - 03:16 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,diciembre 2015 - 06:17 |
Hi Steve,
I'm looking to avoid the ServiceWait only when the thread is running. I'm running a single thread independent of the service.
Thanks! Georgio |
| |
| |
| | | |
|
| | | | |
| | |
|