[libc-commits] [PATCH] D122876: [libc][NFC] Do not call mmap and munmap from thread functions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Apr 1 00:38:27 PDT 2022


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

Instead, memory is allocated and deallocated using mmap and munmap
syscalls directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122876

Files:
  libc/src/threads/linux/CMakeLists.txt
  libc/src/threads/linux/thrd_create.cpp
  libc/src/threads/linux/thrd_join.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122876.419652.patch
Type: text/x-patch
Size: 4918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220401/e017f740/attachment-0001.bin>


More information about the libc-commits mailing list