Download

FRunnable & FRunnableThread Semaphores/Sync

Hello UE4 community!

Im working with threads using the classes FRunnable and FRunnableThread. I need to move the data processed to the main thread to operate with the UI (both trheads working at the same time) and i want to be the most careful possible. Is there any way to do this using Semaphores or another method to Synchronize thread on UE4?.

I hope you can help me.

Thanks!

Demian

Solved:
The common methods provides by c++ (std::mutex) work with ue4 FRunnable and main thread

Hey there,
While std::mutex is working ,
I decided to make a Wiki page MultiThreading and synchronization Guide
That has an example on how to use FCriticalSection and FEvents.