Heavyweight Thread
Advertisement
Techopedia Explains Heavyweight Thread
Processors handle multiple threads in order to prioritize executions. A single thread will be a part of a program execution that a processor can handle individually. With that in mind, some experts classify threads as either lightweight or heavyweight depending on their context. A lightweight thread would be a thread that does not require a lot of "changes" to the system in order to implement its execution. By contrast, a heavyweight thread execution may require switching to a different set of contextual resources, or dealing with differently allocated memory space, that can require more time for switching. One example of a heavyweight thread is the average UNIX process, where processors may need to access more resources, and switch time may be greater, than with some other kinds of threads in different operating system environments. Threads or processes with their own virtual memory may be considered heavyweight threads, as well as those which may involve certain restrictions on access. It’s important to note that the terms 'lightweight thread’ and 'heavyweight thread’ are subjective, and that generally, programmers and others define them on a case by case basis.Advertisement
Related Reading
- An Intro to Logic Trees and Structured Programming
- How to Get Windows 10 Features in Windows 8.1
- Computer Programming: From Machine Language to Artificial Intelligence
- Slow Dancing With Technology: Debugging, the Programmer and the Machine
- The Pioneers of Computer Programming
- Multimodal Learning: A New Frontier in Artificial Intelligence