| To: | Bin Chen <binary.chen@gmail.com> |
|---|---|
| Subject: | Re: how to disable interrupt in application? |
| From: | Freddy Spierenburg <freddy@dusktilldawn.nl> |
| Date: | Wed, 31 May 2006 09:02:45 +0200 |
| Cc: | zhuzhenhua <zzh.hust@gmail.com>, linux-mips <linux-mips@linux-mips.org> |
| In-reply-to: | <5800c1cc0605302311p2d1f024bm96ac6e08cda1bc2f@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <50c9a2250605301733t788c16f9k739c17e4a6a4efee@mail.gmail.com> <5800c1cc0605302311p2d1f024bm96ac6e08cda1bc2f@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.11+cvs20060403 |
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!
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [RFC] remove unused define from addrspace.h, Yoichi Yuasa |
|---|---|
| Next by Date: | Re: how to disable interrupt in application?, Kevin D. Kissell |
| Previous by Thread: | Re: how to disable interrupt in application?, Bin Chen |
| Next by Thread: | Re: how to disable interrupt in application?, Kevin D. Kissell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |