Le 25/09/2011 12:41, Gabriele Fatigati a écrit :

* doing two set_area_membind on the same entire array is useless, the second one will overwrite the first one.

But set_area_membind is for memory in general, not for a particular malloc. ( Is it rigth?)

It's for an memory area.

set_membind done by thread 2 has no reference with malloc(array) done by first thread, so why it influence the real allocation of this array?

It doesn't.

Brice