linux: provide an event thread name
authorAlexander Stein <alexander.stein@mailbox.org>
Wed, 5 Feb 2020 20:41:07 +0000 (21:41 +0100)
committerChris Dickens <christopher.a.dickens@gmail.com>
Fri, 7 Feb 2020 23:59:30 +0000 (15:59 -0800)
commit6e0028ccb07918fe10a3a77beb1bbd56d31d6d1e
tree2bdbef49b5a54d0f5dd77b6c178d1ed42c0953c4
parenta5f6a43342d6bd0da57092ec4e1a6bce30bb2bce
linux: provide an event thread name

Instead of having just the application name as thread name, provide a more
descriptive one, which can e.g. read by htop.
If setting the name fails, the thread will still work as intended, just
raise a warning in this case.

Closes #689

Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
configure.ac
libusb/os/linux_netlink.c
libusb/os/linux_udev.c
libusb/version_nano.h