commit | 31fb174dd295e50f7c5cf18d31fcfd5fe5a063b7 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Tue Nov 08 12:09:05 2016 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Tue Nov 08 12:45:03 2016 -0500 |
tree | d0cc757d2280d4711d40de2fa7ca3121593f11be | |
parent | ea7891a651dc4abc1305438470f1e4cc3b64ece2 [diff] |
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.