POSIX threads vs Windows threads

142 Views Asked by At

I have some experience with pthreads and am looking into threads in windows. They seem quite similar for the most part I am confused about one thing though. With pthreads the heap of the parent process is shared with the threads meaning that they all have access to the same memory. This does not seem to be the case with windows, or I am miss understanding something. With windows do you have to use a shared memory object to access the variables used by all?

0

There are 0 best solutions below