Hrmm... Doing some quick tests in kotlin native ...
# kotlin-native
a
Hrmm... Doing some quick tests in kotlin native and noticing that
platform.posix.usleep
doesn't seem to do anything on Windows/mingw (no errors, no wait, just continues execution immediately) Is this expected behavior? On linux (WSL/Ubuntu on Windows) the same code works as expected.
o
this is MinGW issue, http://mingw-users.1079350.n2.nabble.com/usleep-not-available-td5239654.html, please use Sleep() on Windows