GeneratorThread.jsm File Reference

Javascript source for the generator thread services. More...

Go to the source code of this file.

Functions

function GeneratorThread (aEntryPoint)
 

Variables

 EXPORTED_SYMBOLS = [ "GeneratorThread" ]
 
const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr = Components.results
 
const Cu = Components.utils
 
GeneratorThread currentThread = null
 
GeneratorThread terminateCurrentThread
 

Detailed Description

Javascript source for the generator thread services.

Definition in file GeneratorThread.jsm.

Function Documentation

function GeneratorThread (   aEntryPoint)

Construct an GeneratorThread object with the thread entry point generator-iterator specified by aEntryPoint.

Parameters
aEntryPointThread entry point.

Definition at line 95 of file GeneratorThread.jsm.

Variable Documentation

const Cc = Components.classes

Definition at line 49 of file GeneratorThread.jsm.

Definition at line 50 of file GeneratorThread.jsm.

const Cr = Components.results

Definition at line 51 of file GeneratorThread.jsm.

const Cu = Components.utils

Definition at line 52 of file GeneratorThread.jsm.

GeneratorThread currentThread = null

Definition at line 108 of file GeneratorThread.jsm.

EXPORTED_SYMBOLS = [ "GeneratorThread" ]

Definition at line 40 of file GeneratorThread.jsm.

GeneratorThread terminateCurrentThread

Terminate the current thread.

Definition at line 115 of file GeneratorThread.jsm.