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
#!/bin/bash | |
# | |
#Usage: | |
#1.) Install cygwin and make sure you select the following packages: | |
#- gcc-mingw | |
#- pkg-config | |
#- mingw-zlib1 | |
#- mingw-zlib-devel | |
# | |
#2.) Install the following Mono release package: "Mono for Windows, Gtk#, and XSP" |
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
while (running && Mode == TimerMode.Periodic) | |
{ | |
var t = stopwatch.Elapsed; | |
var remainingTime = FInterval - (t - FOldTime); | |
if (remainingTime.Ticks > 2) | |
{ | |
//if there is more time left than the wait accuracy | |
if (remainingTime.Ticks > FWaitAccuracy.Ticks) | |
{ |