Vuo  2.0.0
Functions | Variables
VuoRunner.cc File Reference

Description

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...
 

Function Documentation

◆ __attribute__()

static void __attribute__ ( (constructor)  )
static

Get a reference to the main thread, so we can perform runtime thread assertions.

Definition at line 54 of file VuoRunner.cc.

◆ isMainThread()

static bool isMainThread ( void  )
static

Is the current thread the main thread?

Definition at line 76 of file VuoRunner.cc.

◆ VuoRunner_closeOnExec()

static void VuoRunner_closeOnExec ( int  fd)
static

Tells the specified Unix file descriptor to automatically close itself when exec() is called.

Definition at line 36 of file VuoRunner.cc.

◆ VuoRunner_configureSocket()

static void VuoRunner_configureSocket ( void *  zmqSocket,
int  timeoutInSeconds 
)
static

Applies standard settings to the specified ZMQ socket.

Definition at line 84 of file VuoRunner.cc.

◆ VuoRunner_listen()

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.

Variable Documentation

◆ compositionReadRunnerWritePipe

int compositionReadRunnerWritePipe[2]
static

A pipe used by the runtime to check if the runner process has ended.

Definition at line 30 of file VuoRunner.cc.

◆ mainThreadChecker

const char* mainThreadChecker = "/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib"
static

The path to Xcode's libMainThreadChecker.dylib.

Definition at line 29 of file VuoRunner.cc.

◆ VuoApp_mainThread

void* VuoApp_mainThread = NULL

A reference to the main thread.

Definition at line 28 of file VuoRunner.cc.