in_irq() in_softirq() in_interrupt() 函数区别
来源:互联网 发布:淘宝白号怎么升一心 编辑:程序博客网 时间:2024/06/05 10:13
#define hardirq_count() (preempt_count() & HARDIRQ_MASK)
#define softirq_count() (preempt_count() & SOFTIRQ_MASK)
#define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK \
| NMI_MASK))
/*
* Are we doing bottom half or hardware interrupt processing?
* Are we in a softirq context? Interrupt context?
*/
#define in_irq() (hardirq_count()) //判断当前是否在硬件中断上下文
#define in_softirq() (softirq_count()) //判断当前是否在软件中断上下文
#define in_interrupt() (irq_count()) //判断当前是否在硬件、软件、底半部中断上下文
0 0
- in_irq() in_softirq() in_interrupt() 函数区别
- in_irq() in_softirq() in_interrupt()
- In_interrupt()和In_irq()
- In_interrupt( ) 和In_irq( )
- In_interrupt( ) 和In_irq( )
- in_interrupt的含义
- 函数区别
- getchar()函数getch()函数区别
- getchar()函数getch()函数区别
- getchar()函数getch()函数区别?
- escape()函数,encodeURI()函数 , encodeURIComponent() 函数区别
- 宏和函数区别
- 三个函数的区别
- 映射函数的区别
- 函数调用约定区别
- fork vfork函数区别
- 数据库特殊函数区别
- fork vfork函数区别
- Mapped Statements collection does not contain value for
- Jenkins Maven处理
- bootstrap输入框组
- #微软MVP分享# WP手机使用记录
- 如何终止java线程
- in_irq() in_softirq() in_interrupt() 函数区别
- 物研究所做一位科研人员
- 绕开国网 特斯拉与小伙伴自组充电网
- WordCount运行详解
- U-Boot编译过程完全分析 (wh)
- miracast
- cocos2d-x 源码分析 之 CCTableView源码分析(附使用方法讨论)
- Sublime Text 3 快捷键汇总
- Android 用Intent 传递对象之 Parcel