I have a MySQL DB which manages users’ accounts data. Each user can only query he’s own data. I have a script that on initial login gets the user data and inserts it to the DB.
I have std::list<Info> infoList in my application that is shared between two threads. These 2 threads are accessing this list as follows: