Skip to content

Contradiction in section 7.11 #277

@xiorcale

Description

@xiorcale

In section 7.11 Locks, Send and Arc, it seems that the text contradict itself. First in the section "Who holds the lock?" it says:

We can't send a Mutex over a channel, because Mutex is not Clone

However, a bit below in the section "Our challenges", it says:

We can send a Mutex over a channel because it's Send

That's confusing and I'm not sure if we can send a mutex over a channel or not after all.

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