[libc-commits] [PATCH] D134095: Implement nanosleep per https://pubs.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
Raman Tenneti via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Sep 16 17:40:30 PDT 2022
rtenneti created this revision.
Herald added subscribers: libc-commits, mgorny.
Herald added projects: libc-project, All.
rtenneti requested review of this revision.
Tested:
Limited unit test: This makes a call and checks that no error was
returned, but we currently don't have the ability to ensure that
time has elapsed as expected.
Co-authored-by: Jeff Bailey <jeffbailey at google.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134095
Files:
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-types/CMakeLists.txt
libc/include/llvm-libc-types/struct_timespec.h
libc/spec/posix.td
libc/spec/stdc.td
libc/src/time/CMakeLists.txt
libc/src/time/mktime.h
libc/src/time/nanosleep.cpp
libc/src/time/nanosleep.h
libc/test/src/time/CMakeLists.txt
libc/test/src/time/nanosleep_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134095.460949.patch
Type: text/x-patch
Size: 11169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220917/44bb89bc/attachment-0001.bin>
More information about the libc-commits
mailing list