Tasks & Lifecycles
Understand task states and lifecycles in concurrency: from creation to termination.
Intro
Tasks represent units of work. Threads and executors run tasks, and each task goes through a lifecycle.
Thread states
Thread states: NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, TERMINATED.
All lessons in this course
- Executors & Futures
- Tasks & Lifecycles