Skip to content

embassy_sync's blocking mutexes do not provide interior mutability #1246

Open
@kesyog

Description

@kesyog

The lock and borrow API's for embassy_sync's blocking Mutex and ThreadModeMutex types provide only shared references to their inner data. Shouldn't they provide mutable references to provide interior mutability? Why are their API's different from the async mutexes?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions