Logo Search packages:      
Sourcecode: csound version File versions  Download package

PUBLIC void csoundSetYieldCallback ( CSOUND ,
int(*)(CSOUND *)  yieldCallback_ 

Called by external software to set a function for checking system events, yielding cpu time for coopertative multitasking, etc. This function is optional. It is often used as a way to 'turn off' Csound, allowing it to exit gracefully. In addition, some operations like utility analysis routines are not reentrant and you should use this function to do any kind of updating during the operation. Returns an 'OK to continue' boolean.

Definition at line 2365 of file csound.c.

Referenced by ControlWindow::csound_start().

        csound->csoundYieldCallback_ = yieldCallback;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index