Here I demonstrated multi-threading in UE5!
A true OS thread is created to perform the calculation of the first 50,000 prime numbers, all in a single while loop!
I give all the C++ code, the Multi-Threading Class Framework that you can extend from my example, and the whole project with all assets here!!!
https://forums.unrealengine.com/t/ue5...
♥
Rama