How to specify one particular thread to execute async code?

somawheels
Sun, 26 Sep 2021 13:26:12 +0000
C++

I am using :

AsyncTask(ENamedThreads::AnyBackgroundThreadNormalTask, [parameter]()]{  //some async code  });

to execute code async. This executes the code on various threads, and doesn’t give me complete control over which thread executes it.

I need my code to always execute on one single thread (but not the main game thread). Does anyone know how i could do this?

1 post - 1 participant