Thread Safety

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • Website: www.copperspice...
    Downloads: download.copper...
    Github: github.com/copp...
    Discussion: forum.copperspi...

Komentáře • 7

  • @Hauketal
    @Hauketal Před 6 lety +1

    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.

    • @CopperSpice
      @CopperSpice  Před 6 lety

      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.

  • @LuizDahoraavida
    @LuizDahoraavida Před 3 lety +1

    thank you!

  • @SaifUlIslam-di5xv
    @SaifUlIslam-di5xv Před 3 lety

    I would like to download the slides for this.
    Also, thank you for the awesome channel!

  • @baixiangcpp2072
    @baixiangcpp2072 Před 5 lety

    Good

  • @cppmsg
    @cppmsg Před 5 lety +1

    Good to show poor definitions of terms on the internet, and then correct them.