1

What are the differences between scheduling of process and threads and difference between methods of IPC's between thread and process. Do all IPC's mechanism like semaphores, mutex, spinlock etc can be applied for the scheduling of process and threads.???

Shivagoy
  • 373
  • 3
  • 5
  • 15
  • Which operational system? May be this thread can help you: http://stackoverflow.com/questions/807506/threads-vs-processes-in-linux – Pih Jan 28 '12 at 11:24
  • Ipc = Inter Process Communication. With threads, the programmer has to take care of synchronization amongst them, not the OS. – 0xc0de Jan 28 '12 at 11:26

1 Answers1

0

The process is the circle, representing the "container" concept (the address space), and the three squigley lines are the threads.

We are scheduling threads

A process is a program in execution, whereas a thread is a path of execution within a process.

Nishan
  • 1
  • 1