Commit e8e6206f authored by Pavel Labath's avatar Pavel Labath Committed by Haibo Huang
Browse files

[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
parent 4083f7bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment