
1 changed files with 7 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||
|
#include "utils.hh" |
||||
|
|
||||
|
|
||||
|
void sleep_millis(int milis) { |
||||
|
std::chrono::milliseconds timespan(milis); |
||||
|
std::this_thread::sleep_for(timespan); |
||||
|
} |
Loading…
Reference in new issue