On Wed, Apr 03, 2024 at 04:03 PM +0200, Marc Hartmayer <mhartmay(a)linux.ibm.com>
wrote:
The new thread name makes it easier to understand the purpose of the
thread.
Signed-off-by: Marc Hartmayer <mhartmay(a)linux.ibm.com>
---
src/node_device/node_device_udev.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c
index ca60f6f7db82..87be5ae254ac 100644
--- a/src/node_device/node_device_udev.c
+++ b/src/node_device/node_device_udev.c
@@ -64,7 +64,7 @@ struct _udevEventData {
int watch;
/* Thread data */
- virThread *th;
+ virThread *udevThread;
virCond threadCond;
bool threadQuit;
bool dataReady;
It probably makes sense to add the prefix `udev` to threadCond,
threadQuite and dataReady as well.
[…snip…]
2.34.1
_______________________________________________
Devel mailing list -- devel(a)lists.libvirt.org
To unsubscribe send an email to devel-leave(a)lists.libvirt.org
--
Kind regards / Beste Grüße
Marc Hartmayer
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Wolfgang Wendt
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294