Re: memory descriptor of threads

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

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux