The following program demonstrates the use of the thread::scopee type for sharing data across threads.
This zip file contains the complete crate.