Need help: hook for executing task

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have to develop some real-time code. I need to execute some code *any* time 
the executing task changes.

I already tried to put a hook in the __schedule() function, before the call to 
the context_switch() function. 

However, my code is called two consecutive times with the same prev or the 
same next: seems that between two consecutive calls someone has changed the 
executing task...

Can somebody please tell me where exactly I should put my hook ??

Many thanks,

           Claudio Scordino
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux