[libc-commits] [PATCH] D148292: [LIBC] Clarify namespace of `thread_exit` in `pthread_exit`
Noah Goldstein via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Apr 13 20:04:54 PDT 2023
goldstein.w.n created this revision.
goldstein.w.n added reviewers: michaelrj, sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
goldstein.w.n requested review of this revision.
Just add `__llvm_libc::` to makes things clearer.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148292
Files:
libc/src/pthread/pthread_exit.cpp
Index: libc/src/pthread/pthread_exit.cpp
===================================================================
--- libc/src/pthread/pthread_exit.cpp
+++ libc/src/pthread/pthread_exit.cpp
@@ -19,7 +19,7 @@
"Mismatch between pthread_t and internal Thread.");
LLVM_LIBC_FUNCTION(void, pthread_exit, (void *retval)) {
- thread_exit(ThreadReturnValue(retval), ThreadStyle::POSIX);
+ __llvm_libc::thread_exit(ThreadReturnValue(retval), ThreadStyle::POSIX);
}
} // namespace __llvm_libc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148292.513418.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230414/ee4da770/attachment.bin>
More information about the libc-commits
mailing list