[LITMUS^RT] Query regarding litmus-rt

Kushal Srivastava s.kushal at iitg.ernet.in
Fri Jun 20 13:02:18 CEST 2014


Hello,

      Can someone explain what sleep_next_period() function in base_task.c
does,i have searched in the libraries about it.It makes some
systemcall such as
syscall(__NR_COMPLETE_JOB) ,
where __NR_COMPLETE_JOB is defined as
#define __NR_complete_job	  		__LSC(2)
and __LSC(x) as
#define __LSC(x) (__NR_LITMUS + x)

Please explain further what the system call is intended for and also which
of the system function does this sleep_next_period invokes

thanking you in advance



Kushal Srivastava
CSE, B-Tech
120101039
08473995737




More information about the litmus-dev mailing list