///////////////////////////////////////////////////////
| 39 | { |
| 40 | //////////////////////////////////////////////////////////// |
| 41 | void sleep(Time duration) |
| 42 | { |
| 43 | // Note that 'std::this_thread::sleep_for' is intentionally not used here |
| 44 | // as it results in inconsistent sleeping times under MinGW-w64. |
| 45 | |
| 46 | if (duration >= Time::Zero) |
| 47 | priv::sleepImpl(duration); |
| 48 | } |
| 49 | |
| 50 | } // namespace sf |
no test coverage detected