Anyone who can shade more light on Multi threading in relation to OOP? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Anyone who can shade more light on Multi threading in relation to OOP?

20th Feb 2019, 9:30 AM
Victor Maoya
Victor Maoya - avatar
2 Answers
+ 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.
20th Feb 2019, 12:20 PM
Sergey Matvienko
Sergey Matvienko - avatar
+ 1
Learning OpenMP would be helpful
23rd Mar 2019, 2:20 PM
Filip