How to add code to context switch ?
I write a program that simulate the task manager in windows.
for this task,
I Need to know how can I call to a function after a context switch ?
How can i add pointer function at the end of the context switch ?
I want to do it in Linux, and in Windows ?
(I think it has a relation with Hook, but not sure, and don't know how)..
Re: How to add code to context switch ?
If you mean, does the operating system emit any event upon context switch which you can handle, then the answer is no, neither linux nor windows allow that. I don't know about other operating systems
|All times are GMT +5.5. The time now is 17:07.|