Add common util to set thread name
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 12 Aug 2020 21:08:07 +0000 (17:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Aug 2020 17:01:02 +0000 (13:01 -0400)
Use the same code to set all the thread names and fail gracefully on
platforms that don't support them.

This sets the minimum requirement for thread names on Linux to Glibc
>= 2.12, which seems reasonable.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I61c0b9adb6c2309fed91b5a1b11ebc5ee2a637ce


No differences found
This page took 0.025035 seconds and 4 git commands to generate.