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.
IIRC, this is called Thread Local Storage...in other word, variable which is defined to be unique for different threads. In that case, look for VMA that maps to .tbss segment. I might be wrong here, consult "objdump" to see if I am correct or not
regards
Mulyadi Santosa