Please enable JavaScript.
Coggle requires JavaScript to display documents.
Virtual Threads - Coggle Diagram
Virtual Threads
Platform Threads
-
-
Platform threads are created, scheduled, and managed by the OS kernel
-
Characteristics
-
Efficiency
Platform threads are efficient for running CPU-bound tasks because they can utilize multiple processor cores effectively
Kernel-Level Control
They have direct access to low-level resources, which can be important for tasks such as device I/O or managing hardware resources
Concurrency
Platform threads can run in parallel and are often used to achieve parallelism in applications, improving performance on multi-core processors
-
Concurrency
-
Concurrent Modules
Process
A process is an instance of a running program that is isolated from other processes on the same machine
Thread
A thread is a locus of control inside a running program. Think of it as a place in the program that is being run, plus the stack of method calls that led to that place