Use a steady clock for timeouts

Fixes #1146.
This commit is contained in:
Eelco Dolstra
2016-12-06 21:58:04 +01:00
parent 7a3e7d0e61
commit ceeedb58d2
2 changed files with 29 additions and 22 deletions
+1
View File
@@ -79,6 +79,7 @@ extern Verbosity verbosity; /* suppress msgs > this */
#define printError(args...) printMsg(lvlError, args)
#define printInfo(args...) printMsg(lvlInfo, args)
#define debug(args...) printMsg(lvlDebug, args)
#define vomit(args...) printMsg(lvlVomit, args)
void warnOnce(bool & haveWarned, const FormatOrString & fs);