1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 15:51:15 +02:00

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
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 29 additions and 22 deletions

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);