Internal class handling the synchronization of an asynchronous thread wishing to communicate that has to wait for its turn on the communcation bus. More...
#include <osvr/Connection/AsyncAccessControl.h>
Public Member Functions | |
AsyncAccessControl () | |
Constructor. | |
Check for waiting async thread, and give it permission to send if found. Blocks until the async thread completes its work.
| |
class | RequestToSend |
bool | mainThreadCTS () |
bool | mainThreadDeny () |
Check for waiting async thread, and deny it permission to send if found. More... | |
bool | mainThreadDenyPermanently () |
Permanently deny present and future requests. More... | |
Internal class handling the synchronization of an asynchronous thread wishing to communicate that has to wait for its turn on the communcation bus.
Definition at line 45 of file AsyncAccessControl.h.
bool osvr::connection::AsyncAccessControl::mainThreadDeny | ( | ) |
Check for waiting async thread, and deny it permission to send if found.
Blocks until the async thread concludes its request.
Definition at line 117 of file AsyncAccessControl.cpp.
bool osvr::connection::AsyncAccessControl::mainThreadDenyPermanently | ( | ) |
Permanently deny present and future requests.
Definition at line 122 of file AsyncAccessControl.cpp.