Java Threads
Table of Contents
Java (Platform) Thread
- https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html
- https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html
- Java Thread was introduced around 25 years ago.
- A Java Thread is a wrapper around an OS thread.
- OS thread is the unit of scheduling.
- 1 Java Thread = 1 OS Thread.
TODO
- https://dzone.com/articles/mastering-thread-local-variables-in-java-a-compreh
- https://dzone.com/articles/unlocking-performance-exploring-java-21-virtual-th
- https://dzone.com/articles/visualising-thread-safe-singletons-in-java