Hi,

I'm currently on a project which I share a stl vector between 2 pthreads.

Since I add an array on the top of the vector in one thread and I read the bottom of the vector in the other thread, do I have to protect the vector with a mutex ????

Thank you.