Join us on the 24th June, for a free 1-hour lesson on threading:
Program:
Step 1 : What is concurrency and threads
Step 2: Create and implement therads
Step 3: Synchronizing threads
Step 4: Threads intercommunication
Step 5: Tsting the applications
Concurrency means that multiple things are executed at the same time, i.e. concurretnly. In Python, concurrency can be achieved in a number of different ways:
- Firstle, there is threading. This is simply allowing multiple threads to take turns.
- Then there is multiprocessing. This means that we are using multiple processor cores, and is also parallelism.
- Using asynchronous IO, means that a task is fired off while another is still continuing, instead of waiting for for all tasks to finish first.
- With distributed computing, multiple computers are used at the same time
Join us on the 24th June, for a free 1-hour lesson on threading: Python Concurrency and Multi-Threading , Sat, Jun 24, 2023, 10:00 AM | Meetup
Comments
Post a Comment