Skip to content

Please add some documentation describing the thread safety disposition of key types #347

@acmorrow

Description

@acmorrow

It is entirely possible I've gone looking in the wrong places, but I have yet to find any documentation or header comments that explain the thread safety disposition of key types like class URDriver or class RTDEClient.

This leaves me unsure about whether I can freely share access to instances of these types these across threads without additional locking, or if I need to synchronize access to instances of these classes myself, or even ensure that access is limited to a single owning thread, etc.

I realize there is a lot of surface area to cover given that it is a layered API, but maybe a brief paragraph in each of https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/doc/architecture/ur_driver.rst and https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/doc/architecture/dashboard_client.rst giving a rough description of the intended/permitted concurrency semantics would go a long way towards clarifying the situation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions