Nils-H Posted August 9, 2013 Posted August 9, 2013 Having a Java background, thread safety is something I usually consider with my code. So I'm wondering how this works with PrestaShop/PHP. Are modules thread safe? That is, will each request have a new instance of the module, so I can safely use instance variables to keep state through a request? Or should I not keep any state in module instance variables? Share this post Link to post Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now