Skip to content

[BUG]: Not possible to use multiple boost::asio::io_context contexts in the same binary #988

@vidz12

Description

@vidz12

vSomeip Version

v3.4.10

Boost Version

1.76

Environment

Android

Describe the bug

Issue Description:

OPERATION CANCELED error thrown while broadcasting the service that uses thread pool created with boost::asio::io_context and boost::asio::steady_timer instances. Also note that the same binary is already using boost::asio::io_context and boost::asio::steady_timer for another purpose.

Root Cause:

What we understand is that the usage of multiple boost::asio::io_context and boost::asio::steady_timer instances within the same binary may not be feasible with boost::asio

Is our understanding, right? What is your view and suggestion on this to make it work on Android?

However, it is working perfectly fine on Ubuntu platform.

Reproduction Steps

No response

Expected behaviour

No response

Logs and Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions