Skip to content

CRC Thread safety #6546

Closed
Closed
@daniel-cesarini-tridonic-com

Description

Description

  • Type: Enhancement | Question
  • Priority: Major

Enhancement/Question

Reason to enhance or problem with existing solution
In the current implementation of CRC in mbed-os thread safety is not guaranteed:
#5911 (comment)

How to?
How do you envision to solve the issue?

Suggested enhancement
We implemented some time ago a CRC Class (https://github.com/ARMmbed/mbed-os/pull/3443/files) that deals with Thread safety by storing intermediate results in a local variables, such that no "lower level" context is needed, and only the time of accessing the lower layers should be mutexed / protected.
Is that approach fitting your needs?

@deepikabhavnani @sg- @MarceloSalazar

FYI: @markus-becker-tridonic-com

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