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

containers add Queue and testing #11574

Merged
merged 1 commit into from
Mar 14, 2019
Merged

Conversation

dagar
Copy link
Member

@dagar dagar commented Mar 2, 2019

Simple intrusive Queue container in the style of the existing List. Used in the new PX4 work queue. #11570

This is intentionally not implemented as a List as to allow placing things in both containers simultaneously.

@dagar dagar requested a review from julianoes March 2, 2019 20:41
@dagar dagar force-pushed the pr-containers_Queue branch 2 times, most recently from d1d5258 to 0c8270c Compare March 2, 2019 22:01
@dagar dagar mentioned this pull request Mar 6, 2019
2 tasks
@dagar dagar requested a review from bkueng March 6, 2019 19:07
@dagar dagar force-pushed the pr-containers_Queue branch from 0c8270c to 927ab83 Compare March 7, 2019 04:11
@dagar dagar marked this pull request as ready for review March 7, 2019 04:12
@dagar dagar force-pushed the pr-containers_Queue branch 2 times, most recently from 151680e to f3a5eb3 Compare March 7, 2019 20:46
@dagar
Copy link
Member Author

dagar commented Mar 7, 2019

Updated to make everything in the node type private and named verbosely to potentially minimize future pain mixing with other containers.

src/include/containers/IntrusiveQueue.hpp Outdated Show resolved Hide resolved
src/include/containers/IntrusiveQueue.hpp Outdated Show resolved Hide resolved
src/systemcmds/tests/test_IntrusiveQueue.cpp Show resolved Hide resolved
@dagar dagar force-pushed the pr-containers_Queue branch from 51ed457 to 4cb4394 Compare March 13, 2019 14:03
@bkueng bkueng merged commit edad4c4 into PX4:master Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants