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

MYNEWT-879: OS scheduler issues with TAILQ_INSERT_TAIL #709

Merged
merged 2 commits into from Dec 20, 2017

Conversation

wes3
Copy link
Contributor

@wes3 wes3 commented Dec 20, 2017

kernel/os: fix errors in os_sched.c related to TAILQ_INSERT_TAIL

The code needs to check if the list is empty before calling TAILQ_INSERT_TAIL as that macro does not set the first element in the list if the list is empty.

William San Filippo added 2 commits December 19, 2017 16:35
kernel/os: fix errors in os_sched.c related to TAILQ_INSERT_TAIL

The code needs to check if the list is empty before calling TAILQ_INSERT_TAIL as that macro does not set the first element in the list if the list is empty.
@wes3 wes3 merged commit 970acaa into apache:master Dec 20, 2017
@wes3 wes3 deleted the os_sched_fixes branch December 20, 2017 02:15
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.

None yet

2 participants