3 ms·
I looked for other examples in the code and found __lwp_thread_changepriority pretty damning, judge for yourself: https://github.com/atgreen/RTEMS/blob/2f200c7
by armada651 1y ago
I looked for other examples in the code and found __lwp_thread_changepriority pretty damning, judge for yourself:
https://github.com/atgreen/RTEMS/blob/2f200c7e642c214accb7cc6bd7f0f1784deec833/c/src/exec/score/src/thread.c#L1141 https://github.com/atgreen/RTEMS/blob/2f200c7e642c214accb7cc...
https://github.com/devkitPro/libogc/blob/52c525a13fd1762c10395c78875e3260f94368b5/libogc/lwp_threads.c#L388 https://github.com/devkitPro/libogc/blob/52c525a13fd1762c103...
The only difference is that the prependit parameter and its associated branch is missing, other than that the functions are completely identical.