| 1387 | # if ELPP_USE_STD_THREADING |
| 1388 | # if ELPP_ASYNC_LOGGING |
| 1389 | static void msleep(int ms) { |
| 1390 | // Only when async logging enabled - this is because async is strict on compiler |
| 1391 | # if defined(ELPP_NO_SLEEP_FOR) |
| 1392 | usleep(ms * 1000); |
| 1393 | # else |
| 1394 | std::this_thread::sleep_for(std::chrono::milliseconds(ms)); |
| 1395 | # endif // defined(ELPP_NO_SLEEP_FOR) |
| 1396 | } |
| 1397 | # endif // ELPP_ASYNC_LOGGING |
| 1398 | # endif // !ELPP_USE_STD_THREADING |
| 1399 | #endif // ELPP_THREADING_ENABLED |
no outgoing calls
no test coverage detected