centos man page for yield_to

Query: yield_to

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

YIELD_TO(9)							   Driver Basics						       YIELD_TO(9)

NAME
yield_to - yield the current processor to another thread in your thread group, or accelerate that thread toward the processor it's on.
SYNOPSIS
bool __sched yield_to(struct task_struct * p, bool preempt);
ARGUMENTS
p target task preempt whether task preemption is allowed or not
DESCRIPTION
It's the caller's job to ensure that the target task struct can't go away on us before we can do any checks.
RETURN
true (>0) if we indeed boosted the target task. false (0) if we failed to boost the target. -ESRCH if there's no task to yield to.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 YIELD_TO(9)
Related Man Pages
utrace_attach_task(9) - suse
schedule_hrtimeout_range(9) - centos
gearman_task_data_size(3) - debian
gearman_task_set_context(3) - debian
kernel_thread_w_arg(9r) - osf1
Similar Topics in the Unix Linux Community
compiling and linking 2 C files ...??
awk eating too much memory?
Searching for a pattern and extracting records related to that pattern
List versus find command