Skip to content

Allow models without a mutex #10

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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