There are many solutions to do this, but which solution helps to optimize the source code is important. Please clarify the purpose, explain more clearly
Is it possible to manage threads in a script in multi-threaded mode?
-
Hello, I wrote a script, but the question always arose: is it possible to manage threads (start new ones, or vice versa end a CERTAIN thread by its number), extinguish certain threads when the script is already running in multithreaded mode? Or implement it as a specific function? I did not find similar solutions, I would be very grateful for the help and answer!
-
-