mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Claudio Scordino <cloud.of.andor@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Need help: hook for executing task
Date: Mon, 9 Jan 2006 20:07:14 -0500	[thread overview]
Message-ID: <200601092007.14827.cloud.of.andor@gmail.com> (raw)

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

                 reply	other threads:[~2006-01-10  1:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601092007.14827.cloud.of.andor@gmail.com \
    --to=cloud.of.andor@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome