How do I execute code on the Game thread from an FRunnable thread?
Hello, I have an FRunnable thread that is checking if data has been received on a few FSockets. Whenever specific data arrives from the sockets, I want to execute code on the game thread.
How can I execute code on the game thread from the FRunnable thread?
asked Jul 23 '15 at 05:36 PM in C++ Programming
Easiest way is to create your own queue of things to run on the game thread. Then poll that queue to execute the task when present. You can see an example in the Steam OSS
answered Jul 23 '15 at 07:08 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here