[libc-commits] [PATCH] D137867: [libc] move fork into threads folder

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Nov 11 14:02:20 PST 2022


michaelrj created this revision.
michaelrj added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

Fork, as a thread function, should go in the threads folder.
Additionally, it depends on the thread mutex, and it was causing build
issues for targets where we don't support threads.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137867

Files:
  libc/src/__support/CMakeLists.txt
  libc/src/__support/fork_callbacks.cpp
  libc/src/__support/fork_callbacks.h
  libc/src/__support/threads/CMakeLists.txt
  libc/src/__support/threads/fork_callbacks.cpp
  libc/src/__support/threads/fork_callbacks.h
  libc/src/pthread/CMakeLists.txt
  libc/src/pthread/pthread_atfork.cpp
  libc/src/unistd/linux/CMakeLists.txt
  libc/src/unistd/linux/fork.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137867.474858.patch
Type: text/x-patch
Size: 5854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221111/dc302e45/attachment.bin>


More information about the libc-commits mailing list