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

{bp-12560} espressif: Fix error while evaluating Wi-Fi task ID #12755

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

jerpelea
Copy link
Contributor

Summary

Use nxsched_gettid instead of nxsched_getpid. Previously each kernel thread was modelled as a task, so the pid is the same of the kthread id. Now, with shared kthread group (introduced by #12320), the pid of all kthreads will be 0 by design in shared group.

Impact

RELEASE

Testing

ESP32, ESP32-S3, ESP32-C3

Use `nxsched_gettid` instead of `nxsched_getpid`. Previously each
kernel thread was modelled as a task, so the pid is the same of the
kthread id. Now, with shared kthread group (introduced by apache#12320),
the pid of all kthreads will be 0 by design in shared group.
@jerpelea jerpelea requested review from anchao and tmedicci July 24, 2024 06:49
@pkarashchenko pkarashchenko merged commit 0e832f4 into apache:releases/12.6 Jul 24, 2024
26 checks passed
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.

5 participants