Skip to content

Conversation

@chinglee-iot
Copy link
Member

@chinglee-iot chinglee-iot commented Sep 5, 2023

Description

  • Add taskTASK_IS_RUNNING_OR_SCHEDULED_TO_YIELD macro to align single core and SMP
  • Update for explicit precedence in vTaskDelete
  • Update the comment to delete running or yielding task to align SMP implementation

Test Steps

N/A

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

Address #750 comment in line 1922

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

* Add taskTASK_IS_RUNNING_OR_YIELDING macro to align single core and SMP
@chinglee-iot chinglee-iot requested a review from a team as a code owner September 5, 2023 14:03
@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f7565c2) 94.35% compared to head (76b0933) 94.35%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #780   +/-   ##
=======================================
  Coverage   94.35%   94.35%           
=======================================
  Files           6        6           
  Lines        2446     2446           
  Branches      598      598           
=======================================
  Hits         2308     2308           
  Misses         85       85           
  Partials       53       53           
Flag Coverage Δ
unittests 94.35% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
tasks.c 94.83% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ActoryOu
ActoryOu previously approved these changes Sep 6, 2023
@aggarg aggarg changed the title Add macro taskTASK_IS_RUNNING_OR_YIELDING Add macro taskTASK_IS_RUNNING_OR_SCHEDULED_TO_YIELD Sep 6, 2023
@chinglee-iot chinglee-iot merged commit f13ad77 into FreeRTOS:main Sep 6, 2023
@chinglee-iot chinglee-iot deleted the update-taskdelete-smp branch September 6, 2023 11:18
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.

3 participants