mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
19 lines
441 B
Groff
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.
|
|
|