add limited pthread_setattr_default_np API to set stack size defaults
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.
Showing
想要评论请 注册 或 登录