Oolite
Loading...
Searching...
No Matches
OOJSEngineTimeManagement.h File Reference
Include dependency graph for OOJSEngineTimeManagement.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void OOJSTimeManagementInit (OOJavaScriptEngine *engine, JSRuntime *runtime)

Function Documentation

◆ OOJSTimeManagementInit()

void OOJSTimeManagementInit ( OOJavaScriptEngine * engine,
JSRuntime * runtime )

Definition at line 240 of file OOJSEngineTimeManagement.m.

241{
242 [NSThread detachNewThreadSelector:@selector(watchdogTimerThread)
243 toTarget:engine
244 withObject:nil];
245
246 JS_SetContextCallback(runtime, ContextCallback);
247}
static JSBool ContextCallback(JSContext *context, uintN contextOp)
return nil