Release 4.12 include/linux/task_work.h
#ifndef _LINUX_TASK_WORK_H
#define _LINUX_TASK_WORK_H
#include <linux/list.h>
#include <linux/sched.h>
typedef void (*task_work_func_t)(struct callback_head *);
static inline void
init_task_work(struct callback_head *twork, task_work_func_t func)
{
twork->func = func;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Oleg Nesterov | 20 | 95.24% | 1 | 50.00% |
Al Viro | 1 | 4.76% | 1 | 50.00% |
Total | 21 | 100.00% | 2 | 100.00% |
int task_work_add(struct task_struct *task, struct callback_head *twork, bool);
struct callback_head *task_work_cancel(struct task_struct *, task_work_func_t);
void task_work_run(void);
static inline void exit_task_work(struct task_struct *task)
{
task_work_run();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Oleg Nesterov | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
#endif /* _LINUX_TASK_WORK_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Oleg Nesterov | 93 | 95.88% | 1 | 50.00% |
Al Viro | 4 | 4.12% | 1 | 50.00% |
Total | 97 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.