[libc-commits] [PATCH] D148294: [LIBC] Handle multiple calls to `detach` more gracefully

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 13 21:58:28 PDT 2023


sivachandra added inline comments.


================
Comment at: libc/src/__support/threads/linux/thread.cpp:355
-
-  cleanup_thread_resources(attrib);
-
----------------
A joinable but exiting thread will not cleanup its resources if we remove this. What problem is your patch trying to address?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148294



More information about the libc-commits mailing list