[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory descriptor of threads



Hi,

Vincenzo Mallozzi wrote:

> Now, I need to modify this program in order to not save the local variables of 
> each thread but I don't know what is the vma of the shared memory descriptor 
> that contains local variables of each threads.

What do you mean by "local variables" ? Do you mean variables allocate
inside each functions, on the stack ? Or global variables, but specific
to each thread (TLS) ?

For more information about TLS, you can read Ulrich Drepper's paper on
that subject: http://people.redhat.com/drepper/tls.pdf

Sincerly,

Thomas
-- 
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/