preempt_count()

来源:互联网 发布:淘宝网网页版登录网址 编辑:程序博客网 时间:2024/05/21 12:50
#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








原创粉丝点击