Java Threads & Concurrency API — Part I
What is a Thread? Thread is the smallest unit of execution that can be scheduled by the OS. What is a Task? A task is a single unit of work performed by a Thread. But then how do we define this work (or create a task for a thread)? A common way is ...
Jul 12, 20213 min read25



