- Currently, muse server watchdog is set to no response for 1 minute. If there is
no response while executing the g_dbus_connection_call_sync() operation set to 2 minutes,
the process is terminated by deadlock. Therefore, change the muse-server watchdog time to about 2 min 20 sec.
- Add log at ms_connection_lock/unlock
Change-Id: I61a2082c51b1cf3fc24123318a221f4b67c3a4cb
#include "muse_core_internal.h"
#define MS_WATCHDOG_CHECK_PERIOD 20
-#define MS_WATCHDOG_CHECK_COUNT 3
+#define MS_WATCHDOG_CHECK_COUNT 7
#define MS_WATCHDOG_TIMER_PERIOD 5
typedef struct ms_watchdog {
void ms_connection_lock(ms_connection_t *connection)
{
muse_return_if_fail(connection);
+ LOGD(">>> connection lock");
g_mutex_lock(&connection->lock);
}
{
muse_return_if_fail(connection);
g_mutex_unlock(&connection->lock);
+ LOGD("<<< connection unlock");
}
void ms_connection_deinit(ms_connection_t *connection)