summaryrefslogtreecommitdiffstatsabout
path: root/SylixOS
diff options
context:
space:
mode:
Diffstat (limited to 'SylixOS')
-rw-r--r--SylixOS/system/ptimer/ptimer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/SylixOS/system/ptimer/ptimer.c b/SylixOS/system/ptimer/ptimer.c
index f7db9b2..2b95685 100644
--- a/SylixOS/system/ptimer/ptimer.c
+++ b/SylixOS/system/ptimer/ptimer.c
@@ -131,6 +131,7 @@ INT timer_create_internal (clockid_t clockid, struct sigevent *sigeventT,
ulTimer = API_TimerCreate("posix_tmr",
LW_OPTION_ITIMER | ulOption, LW_NULL); /* 创建普通定时器 */
if (ulTimer == LW_OBJECT_HANDLE_INVALID) {
+ _ErrorHandle(EAGAIN);
return (PX_ERROR);
}