Package cs :: Module csModule :: Class CsoundThreadRoutine
[hide private]
[frames] | no frames]

Class CsoundThreadRoutine

source code

Instance Methods [hide private]
 
__init__(self, theTime)
Class constructor.
source code
 
csoundThreadRoutine(self)
Start the performanceThread, a C++ thread for running csound, independent from the Python GIL.
source code
 
stop(self)
Terminate the csound performanceThread.
source code
Instance Variables [hide private]
  isRunning
A flag that keeps the thread running, can be deleted when we start using csnd.PerformanceThread properly
  theTime
Pointer to the precise timed queue.
  csoundThread
The csoundThreadRoutine is run in it's own thread
Method Details [hide private]

__init__(self, theTime)
(Constructor)

source code 
Class constructor.
Parameters:
  • self - The object pointer.

csoundThreadRoutine(self)

source code 
Start the performanceThread, a C++ thread for running csound, independent from the Python GIL.
Parameters:
  • self - The object pointer.

stop(self)

source code 
Terminate the csound performanceThread.
Parameters:
  • self - The object pointer.