Re: how to disable interrupt in application?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, May 31, 2006 at 02:11:00PM +0800, Bin Chen wrote:
> On 5/31/06, zhuzhenhua <zzh.hust@xxxxxxxxx> 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@xxxxxxxxxxxxxxx>  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: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux