Assuming, I have std::vector and two threads.
First thread is process erase function while second thread is in for-loop
Is this situation a thread-safe?
Would second thread keep running or throwing an exception?
Aucun commentaire:
Enregistrer un commentaire