The priority is changed to G_PRIORITY_HIGH.
Change-Id: I49927f8c79ef3d3d26e4a7fb260c6f7c3ca4a9d1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
GMainLoop *mainloop = NULL;
guint timer;
- timer = g_timeout_add_seconds(10, __watchdog_cb, NULL);
+ timer = g_timeout_add_seconds_full(G_PRIORITY_HIGH, 10, __watchdog_cb,
+ NULL, NULL);
if (timer == 0) {
- _E("g_timeout_add_seconds() is failed");
+ _E("g_timeout_add_seconds_full() is failed");
return -1;
}