So I am working on a plugin, and since it has some very heavy tasks I am looking for a way to execute certain functions on another thread then the game thread, because otherwise the performance drop is just to big. These functions don’t have to be completed very fast, so I can afford to lose a bit of speed in these functions. The problem is that I can’t find any good tutorials on multithreading, I have read some things about FRunnable and FRunnaleThread, but I don’t fully understand it.
What also could be a solution, is allowing these functions to be partially executed when they tick, and then one or more ticks after it continue and finnish is, but I don’t know if it is possible and I would like to multhithread it.
Do you know anything about this or know a good tutorial, please help me.