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

Callable can outrun periodicity of POSIX timer #161

Closed
mossmaurice opened this issue Jun 30, 2020 · 1 comment
Closed

Callable can outrun periodicity of POSIX timer #161

mossmaurice opened this issue Jun 30, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mossmaurice
Copy link
Contributor

Required information

Operating system:
Ubuntu 18.04 LTS

Compiler version:
GCC 7.5.0

Observed result or behaviour:
If callable is taking more time than periodicity then OS creates more and more threads are created that hang in the mutex (e.g. every 10ms and callable takes 15ms)

Expected result or behaviour:
Call std::terminate or in debug mode just return from the newly created thread.

Conditions where it occurred / Performed steps:
Start ./RouDi, attach GDB in nostop mode and stop a RouDi thread, leaving all other threads e.g. MqThread running

@mossmaurice mossmaurice added the bug Something isn't working label Jun 30, 2020
@mossmaurice mossmaurice self-assigned this Jun 30, 2020
mossmaurice added a commit to mossmaurice/iceoryx that referenced this issue Jun 30, 2020
…x::timer and add its respective test case

Signed-off-by: Hoinkis Simon (CC-AD/ESW1) <simon.hoinkis2@de.bosch.com>
mossmaurice added a commit to mossmaurice/iceoryx that referenced this issue Jun 30, 2020
Signed-off-by: Hoinkis Simon (CC-AD/ESW1) <simon.hoinkis2@de.bosch.com>
@mossmaurice
Copy link
Contributor Author

Closing this issue, as it will be addressed with #167

dkroenke pushed a commit to dkroenke/iceoryx that referenced this issue Jul 29, 2020
Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <Dietrich.Kroenke2@de.bosch.com>
dkroenke pushed a commit to dkroenke/iceoryx that referenced this issue Jul 29, 2020
Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <Dietrich.Kroenke2@de.bosch.com>
dkroenke pushed a commit to dkroenke/iceoryx that referenced this issue Jul 29, 2020
Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <Dietrich.Kroenke2@de.bosch.com>
dkroenke added a commit to dkroenke/iceoryx that referenced this issue Jul 29, 2020
Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <Dietrich.Kroenke2@de.bosch.com>
dkroenke pushed a commit to dkroenke/iceoryx that referenced this issue Jul 29, 2020
… adapt it to master

Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <Dietrich.Kroenke2@de.bosch.com>
dkroenke added a commit to dkroenke/iceoryx that referenced this issue Jul 29, 2020
Signed-off-by: Kroenke Dietrich (CC-AD/ESW1) <Dietrich.Kroenke2@de.bosch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant