[libc-commits] [PATCH] D123423: [libc] Add a definition of pthread_attr_t and its getters and setters.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Apr 8 14:45:42 PDT 2022


sivachandra added inline comments.


================
Comment at: libc/src/pthread/pthread_attr_destroy.cpp:18
+LLVM_LIBC_FUNCTION(int, pthread_attr_destroy, (pthread_attr_t * attr)) {
+  return 0;
+}
----------------
michaelrj wrote:
> since this function doesn't appear to have an implementation yet, does it need to be in this patch?
That is the implementation. I have added a comment to make it clear.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123423



More information about the libc-commits mailing list