At 6:55 push_back() is stated as conditionally thread safe, if different vectors are involved. But there also is the object pushed back. For that the copy constructor and any shared resource where it originates must be (conditionally) thread safe too.
You raise a good point. A conditionally thread safe method requires all the passed arguments to refer to a unique instance, which is not being modified concurrently by any other thread.
At 6:55 push_back() is stated as conditionally thread safe, if different vectors are involved. But there also is the object pushed back. For that the copy constructor and any shared resource where it originates must be (conditionally) thread safe too.
You raise a good point. A conditionally thread safe method requires all the passed arguments to refer to a unique instance, which is not being modified concurrently by any other thread.
thank you!
I would like to download the slides for this.
Also, thank you for the awesome channel!
Glad you are enjoying our videos.
Good
Good to show poor definitions of terms on the internet, and then correct them.