Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bypass script scheduler logic for our testsystem with a endlessloop
due to faster execution time the wait time between doubleclicks needs to be disabled
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
busyloop for our scriptscheduler | ||
The scheduler, if no script has to run, sleeps until the next | ||
script is scheduled for wakeup. | ||
|
||
For our testsystem that is not what we want, since almost no scripts are running the delays are quite huge. | ||
|
||
So trick the scheduler by having this script run endless with a minimum of delay | ||
*/ | ||
use os; | ||
|
||
print("starting busyloop"); | ||
while (1) | ||
sleepms(1); | ||
endwhile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters