-
Notifications
You must be signed in to change notification settings - Fork 34
Syield
VOID Syield( VOID )
'''Syield '''surrenders the remainder of the callers' current process timeslice. |
|
---|---|
Opcode |
255 (0x00ff) |
Availability |
If the MiNT cookie is present. |
Parameters |
none. |
Binding |
|
Return Value |
none. |
Comments |
This functions is for gentle processes which don't want to hog the CPU. FreeMiNT give time slices to each running process (that's basics of preemptive multitasking). A process may not need all the CPU time it is allocated. For instance, imagine that a process is waiting for a condition to become true. To detect when the condition comes true, it keeps polling it (performing a test in a loop). But as a test doesn't take too much CPU time, there will be a lot of loops in a time slice. |
See Also |
Supexec() |
[Home] [Project] [Download] [Get in touch] [Acknowledgements]
- Home
- What is FreeMiNT
- Requirements
- Installation Guide
- User Guide
- Advanced
- Troubleshooting
- Contributor Guide
- Developer Guide
- SpareMiNT
- Community
- About