|
ReXGlue SDK
|
#include <rex/platform/sync.h>
Public Member Functions | |
| Fence () | |
| Fence (const Fence &)=delete | |
| Fence & | operator= (const Fence &)=delete |
| void | Signal () |
| void | Wait () |
Event that clears its own signal once the last waiter returns from Wait.
| rex::platform::Fence::Fence | ( | ) |
Creates an unsignaled fence.
| void rex::platform::Fence::Signal | ( | ) |
Signals the fence and wakes every waiter.
| void rex::platform::Fence::Wait | ( | ) |
Blocks until the fence is signaled. The last waiter to return clears the signal.