b4f52cb937
spawned threads to finish. Moved the original threads1.rs to threads2.rs with the focus on the Mutex and modifying shared data. #892 |
||
---|---|---|
.. | ||
README.md | ||
threads1.rs | ||
threads2.rs |
README.md
Threads
In most current operating systems, an executed program’s code is run in a process, and the operating system manages multiple processes at once. Within your program, you can also have independent parts that run simultaneously. The features that run these independent parts are called threads.