Thread is a light-weight sub-process. If so, what is executed by the processor? Process or thread? If it is thread, why do we say that ready queue has processes? Should not we say that ready queue has threads? And if the answer is process, what is the use of threads then? Is thread just another name of a process which is very small in size? What is actually the difference between these two?
Thank you.