Selon Laurent Aimar <fenrir at via.ecp.fr>: > It is invalid. The array is not accessed anymore by the thread but p_media > is. > The lock protect both the array AND the element inside it. Ok, I'll try to find another solution. Thanks.