[libcxx-commits] [PATCH] D99373: [SystemZ][z/OS] correct rc and errno within nanosleep()
Zibi Sarbino via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 6 08:35:28 PDT 2021
zibi marked 2 inline comments as done.
zibi added inline comments.
================
Comment at: libcxx/include/__support/ibm/nanosleep.h:45
+ // The usleep() does not provide the amount of remaining time upon its failure.
+ // Therefore, the remaining time will not reflect the actual mirco seconds slept.
+ __rem->tv_sec = 0;
----------------
curdeius wrote:
> Typo. But this comment sounds a bit awkward to me.
Thx for catching this. I will rewrite the comment and land this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99373/new/
https://reviews.llvm.org/D99373
More information about the libcxx-commits
mailing list