summaryrefslogtreecommitdiff
path: root/src/thread/pthread_setattr_default_np.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-08add limited pthread_setattr_default_np API to set stack size defaultsRich Felker1-0/+35
based on patch by Timo Teräs: While generally this is a bad API, it is the only existing API to affect c++ (std::thread) and c11 (thrd_create) thread stack size. This patch allows applications only to increate stack and guard page sizes.