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

Replace introspection threads with PeriodicTask #489

Closed
3 tasks done
elBoberido opened this issue Jan 13, 2021 · 0 comments · Fixed by #490
Closed
3 tasks done

Replace introspection threads with PeriodicTask #489

elBoberido opened this issue Jan 13, 2021 · 0 comments · Fixed by #490
Assignees
Labels
refactoring Refactor code without adding features
Projects

Comments

@elBoberido
Copy link
Member

elBoberido commented Jan 13, 2021

Brief feature description

Use the PeriodicTask to remove the thread from the introspection classes.

Detailed information

Currently the introspection classes spawn an own thread to periodically update their topics. The shutdown of the threads is done by polling a member every 100ms in the port and process introspection and by a condition variable in the mempool introspection.
By using the PeriodicTask, this gets unified and should also speed up the tests where the RouDiEnvironment is used.

Refactor

  • process introspection
  • port introspection
  • mempool introspection
@elBoberido elBoberido added refactoring Refactor code without adding features Globex labels Jan 13, 2021
@elBoberido elBoberido self-assigned this Jan 13, 2021
@elBoberido elBoberido added this to To do in Sprints via automation Jan 13, 2021
@elBoberido elBoberido moved this from To do to In progress in Sprints Jan 13, 2021
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 13, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 13, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 13, 2021
…essIntrospection

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 13, 2021
…Introspection

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 13, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 14, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 15, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
@elBoberido elBoberido moved this from In progress to Review in Sprints Jan 18, 2021
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
…oolIntrospection

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
…ction tests

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
…r msvc

Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff pushed a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elfenpiff pushed a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elfenpiff pushed a commit to ApexAI/iceoryx that referenced this issue Jan 18, 2021
…ction tests

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
…ction tests

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 21, 2021
…ction classes

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 21, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 21, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
Sprints automation moved this from Review to Done Jan 22, 2021
elBoberido added a commit that referenced this issue Jan 22, 2021
…eads-with-PeriodicTask

Iox #489 replace introspection threads with periodic task
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 22, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
elBoberido added a commit to ApexAI/iceoryx that referenced this issue Jan 27, 2021
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactor code without adding features
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant