I
I
irny2021-06-17 11:26:05
Python
irny, 2021-06-17 11:26:05

How to auto-terminate a multiprocess.Process() process?

Hello, I need to make a task processing program, each task has a delay in execution and tasks can be dynamically added to the execution queue. I want to do multi-threaded execution of tasks. How can I use multiprocess.Process() to terminate a process automatically without the .join() method?
If this library does not have automatic process termination, then what can be used instead?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question