[LITMUS^RT] Query regarding litmus-rt

Björn Brandenburg bbb at mpi-sws.org
Fri Jun 20 13:28:29 CEST 2014


On 20 Jun 2014, at 13:02, Kushal Srivastava <s.kushal at iitg.ernet.in> wrote:

>      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

LITMUS^RT is an open-source research project aimed at researchers somewhat proficient with OS development. Some exploration and reading of the source code on behalf of the users is expected.

That said, the relevant system call is defined in the kernel in litmus/litmus.c.

- Björn





More information about the litmus-dev mailing list