OSVR-Core
|
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 <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.
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.
bool osvr::connection::AsyncAccessControl::mainThreadDenyPermanently | ( | ) |
Permanently deny present and future requests.