[Top] [All Lists]

Re: how to disable interrupt in application?

To: Bin Chen <>
Subject: Re: how to disable interrupt in application?
From: Freddy Spierenburg <>
Date: Wed, 31 May 2006 09:02:45 +0200
Cc: zhuzhenhua <>, linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.5.11+cvs20060403

On Wed, May 31, 2006 at 02:11:00PM +0800, Bin Chen wrote:
> On 5/31/06, zhuzhenhua <> 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 <>
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read before complain!

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>