Merge "Update to handle the FG/BG on AppControl response callback" into tizen accepted/tizen/mobile/20140113.182016 submit/tizen/20140112.150622
authorSunwook Bae <sunwook45.bae@samsung.com>
Sun, 12 Jan 2014 15:02:29 +0000 (07:02 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Sun, 12 Jan 2014 15:02:29 +0000 (07:02 -0800)
src/base/runtime/FBaseRt_TimerImpl.cpp

index f1159bc..7601023 100644 (file)
@@ -81,7 +81,7 @@ _TimerImpl::Construct(const Timer& timer, ITimerEventListener& listener)
                                "Can't get GMainContext.");
 
        timerFd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC);
-       SysTryReturnResult(NID_BASE_RT, timerFd != -1, E_SYSTEM, "failed to create a timerfd.");
+       SysTryReturnResult(NID_BASE_RT, timerFd != -1, E_SYSTEM, "failed to create a timerfd, errno: %d (%s).", errno, strerror(errno));
 
        pGIOChannel = g_io_channel_unix_new(timerFd);
        SysTryCatch(NID_BASE_RT, pGIOChannel != null, r = E_SYSTEM, E_SYSTEM, "[E_SYSTEM] Failed to create a GIOChannel for timerfd.");