[libc-commits] [PATCH] D75818: [libc] Take 2: Add linux implementations of thrd_create and thrd_join functions.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sat Mar 7 15:41:25 PST 2020
sivachandra created this revision.
sivachandra added reviewers: abrachet, phosek.
Herald added subscribers: libc-commits, tschuett, jfb, MaskRay, mgorny.
Herald added a project: libc-project.
The following are the differences from the first version:
1. The kernel does not copy the stack for the new thread (it cannot).
The previous version missed this fact. In this new version, the new
thread's start args are copied on to the new stack in a known location
so that the new thread can sniff them out.
2. A start args sniffer for x86_64 has been added.
3. Default stack size has been increased to 64KB.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18885 bytes
Desc: not available
More information about the libc-commits