[libc-commits] [PATCH] D126718: [libc] Add pthread_create and pthread_join functions.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jun 1 14:44:19 PDT 2022
lntue accepted this revision.
lntue added a comment.
This revision is now accepted and ready to land.
Look like you'll need to rebase for the pre-merge build and tests.
================
Comment at: libc/src/pthread/pthread_create.cpp:29
+ if (result != 0) {
+ if (result != EPERM)
+ return EAGAIN;
----------------
Will there be more cases to add here? Otherwise you can just combine them into a single if statement.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126718/new/
https://reviews.llvm.org/D126718
More information about the libc-commits
mailing list