diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-12-08 18:02:39 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-12-08 18:02:39 -0500 |
commit | b67d56c7b3b0f84360db749aa6f431a07761d9c8 (patch) | |
tree | ebb174d2dc4c9a912e9870c8601d32a81ff30718 /src/internal/locale_impl.h | |
parent | 90ff016996753d83263445940710c87d9afa71f3 (diff) | |
download | musl-b67d56c7b3b0f84360db749aa6f431a07761d9c8.tar.gz musl-b67d56c7b3b0f84360db749aa6f431a07761d9c8.tar.bz2 musl-b67d56c7b3b0f84360db749aa6f431a07761d9c8.tar.xz musl-b67d56c7b3b0f84360db749aa6f431a07761d9c8.zip |
drop use of pthread_once for aio thread stack size init
pthread_once is not compatible with MT-fork constraints (commit
167390f05564e0a4d3fcb4329377fd7743267560) and is not needed here
anyway; we already have a lock suitable for initialization.
while changing this, fix a corner case where AT_MINSIGSTKSZ gives a
value that's more than MINSIGSTKSZ but by a margin of less than
2048, thereby causing the size to be reduced. it shouldn't matter but
the intent was to be the larger of a 2048-byte margin over the legacy
fixed minimum stack requirement or a 512-byte margin over the minimum
the kernel reports at runtime.
Diffstat (limited to 'src/internal/locale_impl.h')
0 files changed, 0 insertions, 0 deletions