/[svn]/linuxsampler/trunk/src/scriptvm/examples/wait.txt
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/examples/wait.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2726 by schoenebeck, Fri May 30 12:48:05 2014 UTC revision 2727 by schoenebeck, Tue Mar 31 17:46:11 2015 UTC
# Line 1  Line 1 
1  { The wait function can be used to suspend execution of the current event  { The wait function can be used to suspend execution of the current event
2    handler for the given amount of microseconds. Note that execution of an event    handler for the given amount of microseconds. Note that execution of an event
3    handler might also be automatically suspended by the sampler in case its    handler might also be automatically suspended by the sampler in case its
4    execution exceeded at certain limit in time.    execution exceeded a certain limit of time.
5    
6    If you script might get suspended for the reasons mentioned above, you should    If your script might get suspended for the reasons mentioned above, you should
7    be aware that all variables are global variables by default. So after a    be aware that all variables are global variables by default and all global
8      variables are shared with other execution instances of the script. So after a
9    suspended event handler execution is woken up again, the respective global    suspended event handler execution is woken up again, the respective global
10    variables might not reflect what you wanted them to be, because in the    variables might not reflect what you wanted them to be, because in the
11    meantime other execution instances of your script might have altered them    meantime other execution instances of your script might have altered them

Legend:
Removed from v.2726  
changed lines
  Added in v.2727

  ViewVC Help
Powered by ViewVC