[LITMUS^RT] Get the remote cpu state

Björn Brandenburg bbb at mpi-sws.org
Fri Oct 14 07:29:14 CEST 2016


> On 11 Oct 2016, at 11:40, shijunjie92 <shijunjie92 at gmail.com> wrote:
> 
> Just as I have asked, you have rewritten the function 'is_running(task)' as 'is_current_running()'. You said, to check the tasks' states in the remote cpu, we need to get the runqueue lock. But I don't understand the meaning of 'runqueue lock' ? Could you please explain it and how can I get such lock
> 

That refer’s to Linux’s per-core scheduler lock.

- Björn





More information about the litmus-dev mailing list