Is cocos2d::Vector thread safe?

Sorry, the question is so easy for the experienced developers. But after some search in API and google I’m still not sure about this.

If not, how should I do with the Vector since maybe several Update() functions will update a same Vector.

Thanks a lot.

I’m pretty sure that nothing in Cocos2d-x is thread safe. Except some functions related to async resource loading.
However, I can’t understand your worrying, since Update() methods are not called in threads. They are invoked one by one according to the scene graph hierarchy.

@dotsquid is correct.

Really?! It will be quite good. Thanks a lot.