syscall.sh / arm / sched_yield
sched_yield
yield the processor
sys_sched_yield(void)
| number | 158 (0x9e) |
|---|---|
| abi | common |
| entry point | sys_sched_yield |
| since | Linux 4.10 |
| man page | sched_yield(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 158, the syscall number |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 24
- x86 158
- arm64 124
- riscv64 124
- x32 1073741848
- loongarch64 124
- ppc64 158
- ppc 158
- s390x 158
- mips64 5023
- mipsn32 6023
- mipso32 4162
- alpha 334
- arc 124
- csky 124
- hexagon 124
- m68k 158
- microblaze 158
- nios2 124
- openrisc 124
- parisc 158
- sh 158
- sparc 245
- sparc64 245
- xtensa 219
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/sched_yield