Skip to content

Allow models without a mutex #10

@sourcefrog

Description

@sourcefrog

Currently, Nutmeg always wraps the model in a mutex.

Some models don't need this, e.g. if they use atomics or otherwise do their own locking. It would be nice to have an option to not use the mutex.

Perhaps these models should have to be Send+Sync, but then conceivably Nutmeg could be used from just a single thread, in which case we wouldn't need that. So, perhaps we should just let those traits propagate to the view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions