Files
codezero/docs/man/man7/l4_thread_switch.7
2009-11-30 16:42:41 +02:00

19 lines
441 B
Groff

.TH L4_THREAD_SWITCH 7 2009-11-02 "Codezero" "Codezero Programmer's Manual"
.SH NAME
.nf
.BR "l4_thread_switch" " - Yields the CPU"
.SH SYNOPSIS
.nf
.B #include <l4lib/arch/syscalls.h>
.B #include <l4lib/arch/syslib.h>
.BI "int l4_thread_switch(u32 " "dest" ");"
.SH DESCRIPTION
.BR l4_thread_switch() " - Yields the CPU."
Current thread yields the CPU donating its left timeslice to thread with ID specified in the
.B dest
argument.