Skip to content

service implementation might dead-locked #54

@tsingakbar

Description

@tsingakbar

Before executing req.WaitForResponse(), it's possible that this request has been TakeRequested and SendResponseed in ros executor thread, and the condition variable waiting in req.WaitForResponse() totally missing the notify and blocked forever.

To increase the possiblity of reproducing this problem, add something like std::this_thread::sleep_for(std::chrono::milliseconds(5)); before req.WaitForResponse().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions