java Lightweight process

Multiple threads Heavyweight Process

Multiple threads Heavyweight Process Summary: By the time you complete this tutorial "Multiple threads Heavyweight Process", you will be comfortable to create multiple threads of heavyweight executing alternatively. We know earlier how to create single threads by extending Thread class and also by implementing Runnable interface. Now let us create multiple threads of different processes …

Multiple threads Heavyweight Process Read More »

Thread Lightweight Heavyweight Java

Introduction to Thread Lightweight Heavyweight Java If only one process exists before the processor and if the process execution is stopped for some reason, the microprocessor becomes idle without any work. This type of programming is known as monolithic programming. In monolithic programming, the whole process constitutes a single module. To get a better understanding, …

Thread Lightweight Heavyweight Java Read More »