- When a problem occurs, there are cases where
the result of g_source_query_unix_fd is (cond == 0).
- Since too many warning logs may be output,
exception handling was added to simply ignore
it in this case.
Change-Id: I694c5916c82d0969a86db8207ad8a64224e2fb25
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
g_mutex_unlock(&thread->thread_mutex);
}
}
- } else {
+ }
+
+ if (cond && !(cond & G_IO_IN)) {
/* When some io errors occur, it is not considered as a critical error.
* There may be problems with the screen, but it does not affect the operation. */
TPL_WARN("Invalid GIOCondition occured. tpl_gsource(%p) fd(%d) cond(%d)",