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

Task's state update when tpl_start() is called #47

Open
khaoulaboukir opened this issue Dec 12, 2016 · 0 comments
Open

Task's state update when tpl_start() is called #47

khaoulaboukir opened this issue Dec 12, 2016 · 0 comments
Assignees

Comments

@khaoulaboukir
Copy link

khaoulaboukir commented Dec 12, 2016

Hello,

When tpl_start() is called (file : tpl_os_kernel.c) to start a task and the task's state is "READY_AND_NEW" then we need to :

  1. Intialize its descriptor
  2. Change its state to "READY".

Currently the change of state is done only when the number of cores is greater than one (line 738 to 740 of tpl_os_kernel.c file), however I think we need to do it also for the single-core case.

@jlbirccyn jlbirccyn self-assigned this Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants