Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Terminating Subprocesses and Threads while they're calculating
Post: RE: Terminating Subprocesses and Threads while the...

(Oct-17-2020, 06:04 AM)Gribouillis Wrote: There are still things to try. You could call queue.close() and queue.join_thread() in the worker process when it receives the instruction to stop. This wou...
lvlanson General Coding Help 4 2,562 Oct-17-2020, 12:33 PM
    Thread: Terminating Subprocesses and Threads while they're calculating
Post: RE: Terminating Subprocesses and Threads while the...

(Oct-16-2020, 07:08 PM)Gribouillis Wrote: As a workaround, I suggest to use Queue.get() with a timeout, say half a second in the sentinel thread instead of a blocking Queue.get() and check if the wo...
lvlanson General Coding Help 4 2,562 Oct-16-2020, 09:12 PM
    Thread: Terminating Subprocesses and Threads while they're calculating
Post: Terminating Subprocesses and Threads while they're...

I am working on a larger project, where I have 2 Threads (same process) and one separate process. One of the threads is the gui, the other thread is a sentinel thread, observing the subprocess, and th...
lvlanson General Coding Help 4 2,562 Oct-16-2020, 05:46 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020