#rust #threads #mutex Instead of passing messages to and from threads, you can also have multiple threads access shared data. Shared memory concurrency is like multiple ownership. Links Chapter 16 Section 3 doc.rust-lang....
Hello, thank you for this great content. I have a problem. I'm using actix with juniper to program a GraphQL API, and now I'm facing difficulty in modifying the data stored in the variable where I save the data. Every time I add new data through the API, I don't see any changes in the data.
I dont under stand, when you spawn 10 threads, they all try to get the lock at the same time wouldn't the output only be 1? How are the threads all getting the lock/waiting?
Oh man, I almost always stop listening when asked to like and subscribe at the start. Only reason I stayed here was so many of the Rust presenters are so bad.
At least I'm glad you liked it. The only way to reach a lot of people and help them out on RU-vid is to ask people to subscribe so that it's recommended to more and more people. It's tough making these videos let alone making them bearable to watch. I hope you got what you needed. If not, let me know and I'll give you other recommendations to take a look at.