From: Freddy Spierenburg <freddy@dusktilldawn.nl>
To: Bin Chen <binary.chen@gmail.com>
Cc: zhuzhenhua <zzh.hust@gmail.com>, linux-mips <linux-mips@linux-mips.org>
Subject: Re: how to disable interrupt in application?
Date: Wed, 31 May 2006 09:02:45 +0200 [thread overview]
Message-ID: <20060531070245.GG19451@dusktilldawn.nl> (raw)
In-Reply-To: <5800c1cc0605302311p2d1f024bm96ac6e08cda1bc2f@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 740 bytes --]
Hi,
On Wed, May 31, 2006 at 02:11:00PM +0800, Bin Chen wrote:
> On 5/31/06, zhuzhenhua <zzh.hust@gmail.com> wrote:
> >our project have a video decoder code run as application. there is
> >some short code want to be run uninterruptable. is there anyway to do
> >it?
> man sigprocmask
This way you can mask signals, but AFAIK your process is still
interruptable. What if the kernel scheduler decides another
process deserves some running time? Not something you can
suppress, if I'm correct.
--
$ cat ~/.signature
Freddy Spierenburg <freddy@dusktilldawn.nl> http://freddy.snarl.nl/
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1 E588 6F17 FD5D 7941 D1E1
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-05-31 7:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-31 0:33 how to disable interrupt in application? zhuzhenhua
2006-05-31 6:11 ` Bin Chen
2006-05-31 6:58 ` Kevin D. Kissell
2006-05-31 7:37 ` zhuzhenhua
2006-05-31 9:39 ` Kevin D. Kissell
2006-05-31 7:02 ` Freddy Spierenburg [this message]
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=20060531070245.GG19451@dusktilldawn.nl \
--to=freddy@dusktilldawn.nl \
--cc=binary.chen@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=zzh.hust@gmail.com \
/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