Navigation

    • Register
    • Login
    • Search
    1. Home
    2. juergenb
    3. Posts
    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    Posts made by juergenb

    RE: ParallelFor with race conditions

    thank you!! That should get me going :)

    I guess it is generally smarter to try and work around locks, right? To avoid threads waiting for each other?

    posted in Cinema 4D SDK •
    ParallelFor with race conditions

    Hallo everyone, I need to process a huge amount of data, organized in a 2d grid, like a bitmap. its more than 25 million data sets so I wanted to use ParallelFor for this.

    However, the problem is: While I can iterate over the grid to get data to process, I need to write the results from processing each dataset into several other datasets in the grid (advection). So, if i just use parallelFor, there will likely be write access to the same datasets by several threads simultaneously.

    What is the best way to do this?

    thank you!

    J

    posted in Cinema 4D SDK •