现在的位置: 首页 > 综合 > 正文

preempt_count()

2013年09月16日 ⁄ 综合 ⁄ 共 234字 ⁄ 字号 评论关闭
#define preempt_count() (current_thread_info()->preempt_count)
#define PREEMPT_ACTIVE  0x10000000
00001 0000 0000 0000 0000 0000 0000 0000 (2)

struct thread_info {
    ...
    __s32           preempt_count;
    ...
};
typedef int32_t   __s32;
#define int32_t   long

【上篇】
【下篇】

抱歉!评论已关闭.