Threads and processes differ from one operating system to another but , in general , a thread is contained inside a process and different threads in the same process share same resources while different processes in the same multitasking operating system do not .
The implementation of threads and processes differs from one operating system to another , but in most cases , a thread is contained inside a process . Multiple threads can exist within the same process and share resources such as memory , while different processes do not share these resources .