Release 4.12 include/linux/signalfd.h
/*
* include/linux/signalfd.h
*
* Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
*
*/
#ifndef _LINUX_SIGNALFD_H
#define _LINUX_SIGNALFD_H
#include <uapi/linux/signalfd.h>
#include <linux/sched/signal.h>
#ifdef CONFIG_SIGNALFD
/*
* Deliver the signal to listening signalfd.
*/
static inline void signalfd_notify(struct task_struct *tsk, int sig)
{
if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh)))
wake_up(&tsk->sighand->signalfd_wqh);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Davide Libenzi | 40 | 100.00% | 2 | 100.00% |
Total | 40 | 100.00% | 2 | 100.00% |
extern void signalfd_cleanup(struct sighand_struct *sighand);
#else /* CONFIG_SIGNALFD */
static inline void signalfd_notify(struct task_struct *tsk, int sig) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Davide Libenzi | 14 | 100.00% | 2 | 100.00% |
Total | 14 | 100.00% | 2 | 100.00% |
static inline void signalfd_cleanup(struct sighand_struct *sighand) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Oleg Nesterov | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_SIGNALFD */
#endif /* _LINUX_SIGNALFD_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Davide Libenzi | 74 | 73.27% | 2 | 33.33% |
Oleg Nesterov | 21 | 20.79% | 1 | 16.67% |
Ingo Molnar | 3 | 2.97% | 1 | 16.67% |
Jaswinder Singh Rajput | 2 | 1.98% | 1 | 16.67% |
David Howells | 1 | 0.99% | 1 | 16.67% |
Total | 101 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.