[Upstream] Remove usage of usleep in generic code
This function is not portable, and there are only a handful of usages of it anyway. Replacing it with std::this_thread::sleep_for enables us to get rid of the compatibility code in PosixApi.h. Change-Id: I7553fffcb54078aceaf0a11967036a5a302a56d8 llvm-svn: 367814
Loading
Please sign in to comment