mercredi 28 janvier 2015

Singleton application with vector member

I have a Singleton application server (assume being created correctly). The server class has a non static vector member which is modified in several methods. Is it possible that the compiler optimizes the code such that the vector is modified non serially across several request processing method chains. I mean can two chains of method calls may intersect across different requests ? I think they can because the method calls would be jumps to labels .


Aucun commentaire:

Enregistrer un commentaire