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

[portinglayer] fix tasks hogging the cpu #127

Merged
merged 2 commits into from
May 29, 2023
Merged

[portinglayer] fix tasks hogging the cpu #127

merged 2 commits into from
May 29, 2023

Conversation

step0035
Copy link
Collaborator

  • fix [portinglayer] example_matter_task is hogging the cpu #123
  • the example_matter_xxx_task is only for starting up the matter related tasks, once it has done its job, we need to delete it, else the idle task cannot run and do cleanup
  • in uplink and downlink tasks, let them block while waiting for event to arrive on the queue

step0035 added 2 commits May 29, 2023 12:19
- dont need this task since it is just used to init other tasks
- let downlink and uplink task block when waiting for event to arrive on queue
@step0035 step0035 requested review from AdamZhang0124 and xshuqun May 29, 2023 11:08
@AdamZhang0124 AdamZhang0124 merged commit fd6e16f into main May 29, 2023
@step0035 step0035 deleted the fix_cpu_hog branch May 30, 2023 02:43
step0035 added a commit that referenced this pull request Jun 1, 2023
* [portinglayer] delete example_matter_xxx task
- dont need this task since it is just used to init other tasks
- let downlink and uplink task block when waiting for event to arrive on queue

* [portinglayer] delete example_matter task in thermostat
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

Successfully merging this pull request may close these issues.

[portinglayer] example_matter_task is hogging the cpu
2 participants