+ 2
Anyone who can shade more light on Multi threading in relation to OOP?
2 ответов
+ 4
actually multi threading have nothing in relation to OOP :)
multi threading can be used in both cases: OOP and procedural programming and you main concern in the case is how to setup communication between threads in order to not to run into concurrency issues. that's when two or more threads are trying to use the same resource.
OOP is just a way how to build your program.
+ 1
Learning OpenMP would be helpful