this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Property handle KERN_OPERATION_TIMED_OUT in sys_semwait_signal()

+3
+3
src/kernel/emulation/linux/synch/semwait_signal.c
··· 14 14 15 15 #define KERN_SUCCESS 0 16 16 #define KERN_ABORTED 14 17 + #define KERN_OPERATION_TIMED_OUT 49 17 18 18 19 long sys_semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec) 19 20 { ··· 58 59 59 60 if (kr == KERN_ABORTED) 60 61 return -EINTR; 62 + else if (kr == KERN_OPERATION_TIMED_OUT) 63 + return -ETIMEDOUT; 61 64 else if (kr != KERN_SUCCESS) 62 65 return -EINVAL; 63 66