diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-06 20:18:04 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-06 20:18:04 +0200 |
commit | 6e2f00ff9391ed41c7e0e991daff17f603d51c4d (patch) | |
tree | 45e1dc6d31db4cf598f69c3041bcbc19d2fefee6 /lib | |
parent | 22a0900ec22511b6ce872f126e9766ccb4e5a824 (diff) |
Loop: keep running the same loop for some time if there is work to do
Diffstat (limited to 'lib')
-rw-r--r-- | lib/birdlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h index d7b394ce..3f65b8c2 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -115,6 +115,7 @@ typedef s64 btime; #define TO_S /1000000 #define TO_MS /1000 #define TO_US /1 +#define TO_NS * (btime) 1000 #ifndef PARSER #define S S_ |