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

sched: sched: Remove sched_lock/unlock from nxsched_set_affinity() #2726

Merged
merged 1 commit into from Jan 21, 2021

Conversation

masayuki2009
Copy link
Contributor

Summary

  • Because this_task() and nxsched_get_tcb() are protected inside the funtcions
  • Also, enter_critical_section() is used in nxsched_set_affinity()

Impact

  • No impact

Testing

  • Tested with spresense:wifi_smp

Summary:
- Because this_task() and nxsched_get_tcb() are protected inside the funtcions
- Also, enter_critical_section() is used in nxsched_set_affinity()

Impact:
- No impact

Testing:
- Tested with spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
@xiaoxiang781216 xiaoxiang781216 merged commit cb6d78c into apache:master Jan 21, 2021
@masayuki2009 masayuki2009 deleted the fix_sched_setaffinity branch January 25, 2021 05:25
@btashton btashton added this to To-Add in Release Notes - 10.1.0 Apr 12, 2021
@jerpelea jerpelea moved this from To-Add to Minor in Release Notes - 10.1.0 Apr 12, 2021
@jerpelea jerpelea moved this from Minor to Added in Release Notes - 10.1.0 Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants