VuoRunner implementation.
Definition in file VuoRunner.cc.
Go to the source code of this file.
Functions | |
static void | VuoRunner_closeOnExec (int fd) |
Tells the specified Unix file descriptor to automatically close itself when exec() is called. More... | |
static void | __attribute__ ((constructor)) VuoRunner_init() |
Get a reference to the main thread, so we can perform runtime thread assertions. More... | |
static bool | isMainThread (void) |
Is the current thread the main thread? More... | |
static void | VuoRunner_configureSocket (void *zmqSocket, int timeoutInSeconds) |
Applies standard settings to the specified ZMQ socket. More... | |
void * | VuoRunner_listen (void *context) |
pthread_create can't directly invoke a C++ instance method, so this is a C wrapper for it. More... | |
Variables | |
void * | VuoApp_mainThread = NULL |
A reference to the main thread. More... | |
static const char * | mainThreadChecker = "/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib" |
The path to Xcode's libMainThreadChecker.dylib. More... | |
static int | compositionReadRunnerWritePipe [2] |
A pipe used by the runtime to check if the runner process has ended. More... | |
|
static |
Get a reference to the main thread, so we can perform runtime thread assertions.
Definition at line 54 of file VuoRunner.cc.
|
static |
Is the current thread the main thread?
Definition at line 76 of file VuoRunner.cc.
|
static |
Tells the specified Unix file descriptor to automatically close itself when exec()
is called.
Definition at line 36 of file VuoRunner.cc.
|
static |
Applies standard settings to the specified ZMQ socket.
Definition at line 84 of file VuoRunner.cc.
void* VuoRunner_listen | ( | void * | context | ) |
pthread_create
can't directly invoke a C++ instance method, so this is a C wrapper for it.
Definition at line 679 of file VuoRunner.cc.
|
static |
A pipe used by the runtime to check if the runner process has ended.
Definition at line 30 of file VuoRunner.cc.
|
static |
The path to Xcode's libMainThreadChecker.dylib.
Definition at line 29 of file VuoRunner.cc.
void* VuoApp_mainThread = NULL |
A reference to the main thread.
Definition at line 28 of file VuoRunner.cc.