What is lightweight thread?
A lightweight thread is a computer program process, usually a user thread, that can share address space and resources with other threads, reducing the time it takes to switch contexts during execution.
Threads are typically compared for processing time. For example, a lightweight thread is a thread that takes less processing time, while a heavyweight thread is a thread that takes more processing time. Thread processing time also depends on the language used for the thread implementation. For example, it may be more efficient to use C # to implement a program that contains multiple threads.
Modern operating systems, such as Mac, allow more than one thread in the same address space, which reduces the switching time between threads. However, this does not take advantage of multithreading.