BoosterSeat  0.1
A C++ library that includes common utilities that are used in other projects.
sleep.hpp
Go to the documentation of this file.
1 #ifndef SLEEP_HPP_
2 #define SLEEP_HPP_
3 
4 #include <thread>
5 
6 namespace bst {
7 inline void sleep(int32_t milliseconds) {
8  std::this_thread::sleep_for(std::chrono::milliseconds(milliseconds));
9 }
10 } // namespace bst
11 
12 #endif
Definition: filesystem.cpp:34
void sleep(int32_t milliseconds)
Definition: sleep.hpp:7