We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a22a9b commit 8960fbaCopy full SHA for 8960fba
src/main.rs
@@ -79,7 +79,7 @@ impl<'a> Table<'a> {
79
))
80
};
81
let (writer_channel, rx) = mpsc::sync_channel(100);
82
- let writer_thread = thread::spawn(move || write_output(out, rx));
+ let writer_thread = thread::Builder::new().name(format!("write {}", name)).spawn(move || write_output(out, rx)).unwrap_or_else(|err| fatalerr!("Error: failed to create writer thread: {}", err));
83
let mut ownpath = String::from(path);
84
if !ownpath.is_empty() && !ownpath.starts_with('/') { ownpath.insert(0, '/'); }
85
if ownpath.ends_with('/') { ownpath.pop(); }
0 commit comments