Change name for worker thread 16/292816/1 accepted/tizen/unified/20230605.170356
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 15 May 2023 07:25:42 +0000 (16:25 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 15 May 2023 07:26:16 +0000 (16:26 +0900)
[Version] 0.0.75-25
[Issue Type] Update

Change-Id: Ib8116b3da7366645d9307b9e357f7d8cc38d7ccb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/murphy.spec
src/common/glib-glue.c

index 11b78d002d6b630b5a66f4e32ed5934c72e6e42a..f9862249e88fcc9f288105694a518f3fb3537de1 100644 (file)
@@ -29,7 +29,7 @@
 Summary: Resource policy framework
 Name: murphy
 Version: 0.0.75
-Release: 24
+Release: 25
 License: BSD-3-Clause
 Group: System/Service
 URL: http://01.org/murphy/
index 22816cf34cdba3aa395dd56211f47e3df6e4c712..d39905ddd6a7b73899bf1bac26ee8d4ad081c860 100644 (file)
@@ -547,7 +547,7 @@ int mrp_mainloop_register_with_glib(mrp_mainloop_t *ml, GMainLoop *gml)
             GMainContext *def_ctx = g_main_context_default();
             GMainContext *loop_ctx = g_main_loop_get_context(glue->gml);
             if (loop_ctx && def_ctx != loop_ctx) {
-                glue->worker = g_thread_try_new(NULL, thread_main, glue, NULL);
+                glue->worker = g_thread_try_new("mrp:worker", thread_main, glue, NULL);
                 if (glue->worker == NULL) {
                     mrp_log_error("Thread creation failed");
                     return FALSE;