Download

Why is FRunnableThread preferred over FThread?

I am reading UE4 multithreading system, and I find FRunnable, FRunnableThread, and the rest of the system to be really neat. But I don’t know the exact difference between using FThread, versus FRunnableThread, and why making an FThread is labeled as making a new ‘system’ thread?

It is clear that FRunnableThread will allow interaction with the rest of multithreading system of UE4, but is there a difference strictly in running an FRunnableThread alone from running an FThread alone for a given task? does the OS end up dealing with them differently?