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.
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:
However, a bit below in the section "Our challenges", it says:
That's confusing and I'm not sure if we can send a mutex over a channel or not after all.