From: bert hubert <ahu@ds9a.nl>
To: selvakumar nagendran <kernelselva@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Finding whether a process blocked while executing a syscall
Date: Thu, 30 Dec 2004 23:13:56 +0100 [thread overview]
Message-ID: <20041230221356.GB15202@outpost.ds9a.nl> (raw)
In-Reply-To: <20041230045236.19022.qmail@web60606.mail.yahoo.com>
On Wed, Dec 29, 2004 at 08:52:36PM -0800, selvakumar nagendran wrote:
> A process can be blocked while executing a syscall
> in the light of some resources needed. Now, I want to
> find out whether a process has been blocked while
> executing a particular syscall or it has finished it
> successfully? If it was blocked I want to perform some
> operation on it. Can anyone help me regarding this?
This question is fraught with difficulty. For one thing, many many system
calls will block for a short time, which you would probably not describe as
'blocked', even though this was true for a few milliseconds.
You did not entirely specify why you want to do this, there may be better
solutions to your problem.
bert
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
next prev parent reply other threads:[~2004-12-30 22:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 4:52 selvakumar nagendran
2004-12-30 22:13 ` bert hubert [this message]
2004-12-31 6:08 ` Resource unavailabilty on " selvakumar nagendran
2004-12-31 6:08 ` selvakumar nagendran
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=20041230221356.GB15202@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=kernelselva@yahoo.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
all inboxes | Powered by JetHome®