Skip to main content
00:00/00:00
Lecture 15 of 71

Daemon thread

Download Course (Free)

Course Content

0 / 71 completed
Section 1: Introduction3 videos

Exercise files

1m

What you should know

1m

Learn parallel programming basics

2m
Section 2: Parallel Computing Hardware3 videos

Shared vs. distributed memory

9m

Parallel computing architectures

9m

Sequential vs. parallel computing

8m
Section 3: Threads and Processes11 videos

Thread vs. process

9m

Concurrent vs. parallel execution

7m

Global interpreter lock Python demo

3m

Multiple threads Python demo

6m

Multiple processes Python demo

6m

Execution scheduling

5m

Execution scheduling Python demo

3m

Thread lifecycle

7m

Daemon thread

7mNow Playing

Daemon thread Python demo

2m

Thread lifecycle Python demo

6m
Section 4: Mutual Exclusion4 videos

Data race

7m

Data race Python demo

3m

Mutual exclusion

7m

Mutual exclusion Python demo

4m
Section 5: Locks6 videos

Reentrant lock

5m

RLock Python demo

4m

Try lock

5m

Non-blocking acquire Python demo

5m

Read-write lock Python demo

6m

Read-write lock

6m
Section 6: Liveness8 videos

Deadlock

8m

Deadlock Python demo

6m

Abandoned lock

2m

Abandoned lock Python demo

5m

Starvation Python demo

4m

Starvation

4m

Livelock

4m

Livelock Python demo

7m
Section 7: Synchronization7 videos

Condition variable Python demo

7m

Condition variable

8m

Producer-consumer threads Python demo

6m

Producer-consumer

9m

Semaphore

6m

Producer-consumer processes Python demo

6m

Semaphore Python demo

2m
Section 8: Barriers4 videos

Race condition Python demo

3m

Race condition

8m

Barrier

4m

Barrier Python demo

3m
Section 9: Asynchronous Tasks8 videos

Computational graph

4m

Thread pool

5m

Process pool Python demo

2m

Thread pool Python demo

3m

Future

3m

Divide and conquer

4m

Future Python demo

3m

Divide and conquer Python demo

5m
Section 10: Evaluating Parallel Performance4 videos

Speedup, latency, and throughput

4m

Amdahl's law

4m

Measure speedup

7m

Measure speedup Python demo

5m
Section 11: Designing Parallel Programs4 videos

Agglomeration

6m

Communication

6m

Mapping

3m

Partitioning

6m
Section 12: Challenge Problems7 videos

Welcome to the challenges

1m

Solution Matrix multiply in Python

8m

Challenge Matrix multiply in Python

5m

Challenge Merge sort in Python

4m

Challenge Download images in Python

2m

Solution Merge sort in Python

6m

Solution Download images in Python

4m
Section 13: Conclusion2 videos

Next steps

1m

Additional resources

1m