syscall.sh / x32 / sched_yield
sched_yield
yield the processor
sys_sched_yield(void)
| number | 1073741848 (0x40000018) |
|---|---|
| abi | common |
| entry point | sys_sched_yield |
| since | Linux 3.4 |
| man page | sched_yield(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741848, the syscall number |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 24
- x86 158
- arm64 124
- arm 158
- riscv64 124
- 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/x32/sched_yield