2079 8

BIT204 ยท 2079 ยท 5 marks

How threads differ from processes? Explain user level thread and kernel level thread.

How threads differ from processes? Explain user level thread and kernel level thread. [5]

Operating SystemsChapter 5: Concurrency and SynchronizationThread definition and characteristics

--- Aspect Process Thread --------- Definition An independent program in execution with its own address space A lightweight unit of execution within a process Memory Has its own separate memory space Shares memory (code, data, heap) with other threads of the same process Creation overhead Heavy; ...