函数逻辑报告 |
Source Code:kernel\kthread.c |
Create Date:2022-07-27 10:30:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kthread_queue_delayed_work - queue the associated kthread work* after a delay
函数原型:bool kthread_queue_delayed_work(struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kthread_worker * | worker | |
struct kthread_delayed_work * | dwork | |
unsigned long | delay |
919 | bool ret = false |
921 | raw_spin_lock_irqsave( & lock, flags) |
925 | ret = true |
928 | raw_spin_unlock_irqrestore( & lock, flags) |
929 | 返回:ret |
名称 | 描述 |
---|---|
psi_schedule_poll_work | Schedule polling if it's not already scheduled. It's safe to call even from* hotpath because even though kthread_queue_delayed_work takes worker->lock* spinlock that spinlock is never contended due to poll_scheduled atomic* preventing such competition. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |