Hi community
I want to share a post I did about an exercise with multithreading
https://nbertoa.wordpress.com/2016/03/10/multithreading-exercises-1-bouncing-particles/
Hope it is useful :)
Hi community
I want to share a post I did about an exercise with multithreading
https://nbertoa.wordpress.com/2016/03/10/multithreading-exercises-1-bouncing-particles/
Hope it is useful :)
What about combining #2 and #3, so that the simulation is multi-threaded and can also overlap with the rendering :)
In #3 I tried to do that.
1 thread - rendering
1 thread - uses parallel for from intel tbb to execute simulation in parallel
Oh cool -- I missed the parallel for, and thought it was simply using two threads.