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 (closed) Fixes: #22366 (closed) See: #22366 (comment 460796)