What are shared by multi threads in the same process?

Posted by skydoor on Stack Overflow See other posts from Stack Overflow or by skydoor
Published on 2010-03-21T01:22:56Z Indexed on 2010/03/21 1:31 UTC
Read the original article Hit count: 377

Filed under:

I found that each thread still has its own registers. Also has its own stack, but other threads can read and write the stack memory.

My questions, what are shared by the multi threads in the same process?

What I can imagine is

1) address space of the process; 2) stack, register; 3) variables

Can any body elaborate it and add more?

© Stack Overflow or respective owner

Related posts about multithreading