summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNicolas Trangez <ikke@nicolast.be>2023-01-04 17:10:41 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-09 21:11:03 -0500
commitcfaf1ad7d4f75fc3f04090a17cc675d0e54e8e55 (patch)
tree0939ab2b5113a40f54e97cb645db58082e54cb39 /configure.ac
parentd53f6f4d98aabd6f5b28fb110db1da0f6db70a06 (diff)
downloadhaskell-cfaf1ad7d4f75fc3f04090a17cc675d0e54e8e55.tar.gz
rts, tests: limit thread name length to 15 bytes
On Linux, `pthread_setname_np` (or rather, the kernel) only allows for thread names up to 16 bytes, including the terminating null byte. This commit adds a note pointing this out in `createOSThread`, and fixes up two instances where a thread name of more than 15 characters long was used (in the RTS, and in a test-case). Fixes: #22366 Fixes: https://gitlab.haskell.org/ghc/ghc/-/issues/22366 See: https://gitlab.haskell.org/ghc/ghc/-/issues/22366#note_460796
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions