diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-04-12 18:41:33 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-04-12 19:04:37 -0500 |
commit | 203aff2df368f63532c0db4c5ab2879438654814 (patch) | |
tree | 15c429374e2aad02a515ffed54ba73e43d101e70 /clang/lib/Sema/SemaModule.cpp | |
parent | 2c12e9b7b2dfaafad5ef51ea38a581adfecc90b4 (diff) | |
download | llvm-203aff2df368f63532c0db4c5ab2879438654814.zip llvm-203aff2df368f63532c0db4c5ab2879438654814.tar.gz llvm-203aff2df368f63532c0db4c5ab2879438654814.tar.bz2 |
[LIBC] Implement `sched_yield()`
Implements: https://linux.die.net/man/2/sched_yield
Possibly we don't need the return value check / errno as according to
both the manpage (and current linux source) `sched_yield` cannot fail.
Reviewed By: sivachandra, michaelrj
Differential Revision: https://reviews.llvm.org/D147985
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions