about summary refs log tree commit diff
path: root/src/thread/pthread_setattr_default_np.c
Commit message (Collapse)AuthorAgeFilesLines
* add limited pthread_setattr_default_np API to set stack size defaultsRich Felker2016-11-081-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.