Vuo  0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
VuoNSRunLoop.m File Reference

Description

VuoNSRunLoop implementation.

Functions

void VuoNSRunLoop_use (void)
 Indicates that the caller needs an NSRunLoop on the main thread.
 
void VuoNSRunLoop_disuse (void)
 Indicates that the caller no longer needs an NSRunLoop.
 

Variables

unsigned int VuoNSRunLoop_useCount = 0
 Process-wide count of callers (typically node instances) using the NSRunLoop.
 
dispatch_source_t VuoNSRunLoop_timer
 Process-wide libdispatch timer for processing events.
 

Function Documentation

void VuoNSRunLoop_disuse ( void  )

Indicates that the caller no longer needs an NSRunLoop.

(The NSRunLoop may continue running, if other callers still need it.)

This function may be called from any thread.

void VuoNSRunLoop_use ( void  )

Indicates that the caller needs an NSRunLoop on the main thread.

This function may be called from any thread.

Todo:
event tracking run loop mode (https://b33p.net/kosada/node/5961)

Variable Documentation

dispatch_source_t VuoNSRunLoop_timer

Process-wide libdispatch timer for processing events.

unsigned int VuoNSRunLoop_useCount = 0

Process-wide count of callers (typically node instances) using the NSRunLoop.