Apr-18-2018, 03:51 AM
You probably shouldn't be using the
Note, though, that threads in python aren't "real" threads. They won't utilize multiple cores on your processor, and will probably not speed anything up in this case.
If this is the direction you want to head, then you should probably look at
_thread
module. threading.Thread(target=your_function, args=(some, tuple)).start()
is probably where you want to end up... if you want to use threads.Note, though, that threads in python aren't "real" threads. They won't utilize multiple cores on your processor, and will probably not speed anything up in this case.
If this is the direction you want to head, then you should probably look at
multiprocessing.Pool
: https://docs.python.org/3/library/multip....pool.Pool