I\'m quite new to the threading module, but my problem is that threads appear to not start.I tried to use the currentThread function to see is they are new threads starting
What thread.join()
does is it waits for the thread to end what it's doing. To allow other threads to start, move this line to the end of the procedure.
current_thread() returns main thread because you invoke it in the main method. The line printed from the method "basicThread" denotes the actual thread that runs that method ( which are the newly formed threads).
Move the thread_1.join() to the bottom as in the previous answer