Python, Concurrency, Parallelism, Multiprocessing, Asynchronous.
waiting for the previous thread to finish before starting. lock = threading.Lock() t1 = ThreadPriority(1, "Payment", 5) t2 = ThreadRegular(2, "Confirmation", 10) t3 = ThreadRegular(3, "Mail", 3) t1.start() t2.start() t3.start() t1.join() t2.join() t3.join() print("Main finito") ####### #firstly all