[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
Fri Apr 14 11:14:45 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG442b0d9db4df: [LIBC] Clarify namespace of `thread_exit` in `pthread_exit` (authored by goldstein.w.n).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148292/new/

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.513682.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230414/3957c16c/attachment.bin>


More information about the libc-commits mailing list