What are the advantages of threads over processes?
Some of the useful threads offer over processes includes:
i) It does not take more time to create and finished a new thread than it takes for a process, because the newly created thread uses the present process address space.
ii) It takes less time to change between two threads within the same process, partly because the newly created thread uses the current process address space.
iii) Less communication overheads -- communicating between the threads of one procedure is simple because the threads distribute the address space, in particular. So, data formed by one thread immediately exists to all the other threads.