ReXGlue SDK
Loading...
Searching...
No Matches
rex::platform::Fence Class Reference

#include <rex/platform/sync.h>

Public Member Functions

 Fence ()
 Fence (const Fence &)=delete
Fence & operator= (const Fence &)=delete
void Signal ()
void Wait ()

Detailed Description

Event that clears its own signal once the last waiter returns from Wait.

Constructor & Destructor Documentation

◆ Fence()

rex::platform::Fence::Fence ( )

Creates an unsignaled fence.

Member Function Documentation

◆ Signal()

void rex::platform::Fence::Signal ( )

Signals the fence and wakes every waiter.

◆ Wait()

void rex::platform::Fence::Wait ( )

Blocks until the fence is signaled. The last waiter to return clears the signal.


The documentation for this class was generated from the following file: