[libcxx-commits] [PATCH] D87940: [SystemZ][ZOS] Porting the time functions within libc++ to z/OS

Zbigniew Sarbinowski via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 12 13:06:43 PST 2020


zibi added a comment.

@ldionne Louis, please use the following as commit message:

This patch is one part of many steps required to build libc++ and libc++abi libraries on z/OS. 
This particular deals with time related functions and consists of the following:

1. Initialization of `struct imeval` within libc++ library need to be adjusted for additional aggregate member.
2. Retrieving `struct timespec` have to be compensated for the difference of some of the members within `struct stat.
3. The `nanosleep()` is not available on z/OS. This patch will provide equivalent functionality using both sleep() and usleep().




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87940/new/

https://reviews.llvm.org/D87940



More information about the libcxx-commits mailing list