Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Python Parallel and Concurrent Programming Part 1

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Write more effective programs that execute multiple instructions simultaneously. Learn the fundamentals of parallel and concurrent programming in Python.

Syllabus

Introduction
  • Learn parallel programming basics
  • What you should know
  • Exercise files
1. Parallel Computing Hardware
  • Sequential vs. parallel computing
  • Parallel computing architectures
  • Shared vs. distributed memory
2. Threads and Processes
  • Thread vs. process
  • Concurrent vs. parallel execution
  • Global interpreter lock: Python demo
  • Multiple threads: Python demo
  • Multiple processes: Python demo
  • Execution scheduling
  • Execution scheduling: Python demo
  • Thread lifecycle
  • Thread lifecycle: Python demo
  • Daemon thread
  • Daemon thread: Python demo
3. Mutual Exclusion
  • Data race
  • Data race: Python demo
  • Mutual exclusion
  • Mutual exclusion: Python demo
4. Locks
  • Reentrant lock
  • Rlock: Python demo
  • Try lock
  • Non-blocking acquire: Python demo
  • Read-write lock
  • Read-write lock: Python demo
5. Liveness
  • Deadlock
  • Deadlock: Python demo
  • Abandoned lock
  • Abandoned lock: Python demo
  • Starvation
  • Starvation: Python demo
  • Livelock
  • Livelock: Python demo
Conclusion
  • Next steps

Taught by

Olivia Chiu Stone and Barron Stone

Reviews

Start your review of Python Parallel and Concurrent Programming Part 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.