Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear documentation on thread time splitting #15442

Closed
pyciko opened this issue Aug 6, 2023 · 1 comment
Closed

Unclear documentation on thread time splitting #15442

pyciko opened this issue Aug 6, 2023 · 1 comment

Comments

@pyciko
Copy link

pyciko commented Aug 6, 2023

Description of defect

It's unclear how processor time is split by threads. The documentation says I can set thread priority, but I still don't understand what are the exact figures of time being allocated for each thread. If there are 2 threads with identical priorities, do they share processor time by 50% each? Is there any way to limit the time being given to a certain thread either in relative (%) or absolute (micros?) value?

Target(s) affected by this defect ?

n/a

Toolchain(s) (name and version) displaying this defect ?

n/a

What version of Mbed-os are you using (tag or sha) ?

n/a

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

n/a

How is this defect reproduced ?

n/a

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 18, 2023

Hi @pyciko ,

you can read more about RTX scheduling (default rtos): https://www.keil.com/pack/doc/CMSIS/RTOS2/html/theory_of_operation.html

@pyciko pyciko closed this as completed Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants