Rust: Send Data between Threads

Опубликовано: 24 Январь 2023
на канале: The Dev Method
11,420
495

#rust #thread #data
Threads or actors communicate with one another by sending messages containing data

The Rust Standard Library provides an implentation of Channels.

A Channel is concept where one thread sends data to another thread.

Links

The Rust Programming Book
Chapter 16 Section 2
https://doc.rust-lang.org/book/ch16-0...