@Rahul Threads within a process share the same virtual memory space but each has a separate stack, and possibly "thread-local storage". this thread local storage is register and other private data. They are *lightweight* because a context switch is simply a case of switching the stack pointer and program counter and restoring other registers, wheras a *process*context switch involves switching the MMU context as well.
Moreover, communication between threads within a process is *lightweight* because they share an address space. Now Option A is not right as it says Only register. Option B is wrong as it directly opposes Option C is correct as Threads share address space of Process. Virtually memory is concerned with processes not with Threads Option D is wrong as it says only scheduling and accounting. Best Wishes Sachin Sharma University of Delhi -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.