Share Rust Thread Data With Mutexes - Rust Tutorial
Offered By: Trevor Sullivan via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of sharing data between Rust threads using Mutexes in this comprehensive 36-minute tutorial. Learn how to implement the Mutex structure from the Rust standard library to ensure safe, exclusive access to shared memory. Dive into hands-on coding examples that demonstrate the single-lock guarantee of Mutexes, allowing multiple Rust threads to safely access the same data. Cover essential topics including the Lock method, creating new modules and closures, handling thread panics, joining threads, and implementing asynchronous methods. Gain practical insights into ThreadSleep and testing join operations. Perfect for developers looking to enhance their Rust programming skills and understand thread-safe data sharing techniques.
Syllabus
Introduction
Lock Method
Standard Crate
Create New Module
Create Closure
Create Second Thread
Thread Panics
Joining Threads
Asynchronous Method
ThreadSleep
Break Out
Testing
Join Operation
Taught by
Trevor Sullivan
Related Courses
Mastering Multithreading with GoEdureka via Coursera Multithreading for Beginners in Java - Comprehensive Guide
freeCodeCamp gophercises
Independent Applied Concurrency in Go
LinkedIn Learning Threading in C#
LinkedIn Learning