-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libc][gnu ext] implement pthread_rwlockattr_{get|set}kind_np #89443
Comments
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-libc Author: Nick Desaulniers (nickdesaulniers)
These functions are perhaps useful. Not implemented in #89322 because I didn't know they existed outside of POSIX.
Since these aren't POSIX but instead gnu extensions, these should go in FOO rather than libc/spec/posix.td; we already have an entry for pthreads.h in that file. It will be easier for someone to start on this once #89322 lands. I would extend our definition of Then it sounds like we should define 3 macros (in libc/include/pthread.h.def, though keep an eye on #88997, too)
|
@llvm/issue-subscribers-good-first-issue Author: Nick Desaulniers (nickdesaulniers)
These functions are perhaps useful. Not implemented in #89322 because I didn't know they existed outside of POSIX.
Since these aren't POSIX but instead gnu extensions, these should go in FOO rather than libc/spec/posix.td; we already have an entry for pthreads.h in that file. It will be easier for someone to start on this once #89322 lands. I would extend our definition of Then it sounds like we should define 3 macros (in libc/include/pthread.h.def, though keep an eye on #88997, too)
|
I would like to work on it if possible. |
@HendrikHuebner cool! Let me know if you get stuck. Note: I'll be offline a bit soon ish, so expected delayed review+feedback from me. |
Hi @SchrodingerZhu thanks for the quick revert. Did this issue ever get fixed up? If not looks like we should re-open it? |
I agree. I don't think it is fixed by now. |
Sorry I haven't gotten around to it yet. I'll update it tomorrow. Somehow one of the files I changed wasn't committed. |
fixed: 485f9f5 |
These functions are perhaps useful. Not implemented in #89322 because I didn't know they existed outside of POSIX.
Since these aren't POSIX but instead gnu extensions, these should go in FOO rather than libc/spec/posix.td; we already have an entry for pthreads.h in that file. It will be easier for someone to start on this once #89322 lands.
I would extend our definition of
pthread_rwlockattr_t
in libc/include/llvm-libc-types/pthread_rwlockattr_t.h to include a newint
member namedpref
such that these functions are simple getters and setters.Then it sounds like we should define 3 macros (in libc/include/pthread.h.def, though keep an eye on #88997, too)
The text was updated successfully, but these errors were encountered: