Hacker News new | ask | show | jobs
by CyberDildonics 124 days ago
In fact, in one of these projects I was pushed to use STL initially. I'm now working on getting rid of the last of them because we have had concurrency bugs

Which part of the STL are you expecting to be thread safe?

1 comments

Where did I imply that I am expecting any part of the STL to be thread safe?
If you aren't, wouldn't that imply that the concurrency problems are with you and not with the standard library?
Why don't you read again what I said instead of continuing to make implications?
You said you had concurrency problems with the STL, but none of it has any intersection with concurrency, that is left to the users. There are no expectations there unless you were using threads, atomics, mutexes etc. and they had bugs.
Try harder, Sherlock. You're very close to proving that I assumed the STL was "thread safe". You've almost got me.
I'm not trying to prove anything, I'm asking why you "had concurrency problems from using the STL" when the STL doesn't have anything to do with concurrency.