[libc-commits] [PATCH] D147985: [LIBC] Implement `sched_yield()`
Noah Goldstein via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Apr 11 17:01:30 PDT 2023
goldstein.w.n marked an inline comment as done.
goldstein.w.n added inline comments.
================
Comment at: libc/test/src/sched/yield_test.cpp:9
+
+#include "src/__support/OSUtil/syscall.h"
+#include "src/errno/libc_errno.h"
----------------
michaelrj wrote:
> Nit: I'm not sure you need to include syscall here.
Fixed. 1 more unrelated question if you have the time.
I'm working on adding support for proper attr handling in `pthread_create`, but am finding normal libc tests / build doesn't include pthread (on linux).
Any idea for the extra steps to build/test pthread?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147985/new/
https://reviews.llvm.org/D147985
More information about the libc-commits
mailing list