operating system - What's the difference between a thread's stack and a process's stack -


What are the independent stacks in both threads and processes? If the answer is yes, then what is the difference between them? thank you in advanced!

Threads do not have a stack in the process A process usually consists of an address space, some resources and a Or there are more than one thread. The thread runs the actual code of the process, so that everyone has their own stack.

There is more information in the wiki article on the stack


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

unix - Listing all shared memory segments used by a process on AIX5.3+ -