what is the difference between process and thread
At the kernel level, a process contains one or more kernel threads, which share the process's resources, such as memory and file handles â a process is a unit of resources, while a thread is a unit of scheduling and execution. Kernel scheduling is typically uniformly done preemptively or, less commonly, cooperatively.