Hello,

I have a session variable, a instance of A :

class A {
     ...

     void add(int i) {
         vec.push_back(i);
     }

protected:
     std::vector<int> vec;
};

<%session>
A a;
</%session>

I think I must use Mutex in add function , but how ?

Thanks,

Jean-Marc

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to