Removed util.

This commit is contained in:
Alan Jeffrey 2016-12-14 10:37:58 -06:00
parent 01b6ad55bd
commit 9be4fd56ce
133 changed files with 396 additions and 352 deletions

View file

@ -19,7 +19,6 @@ use std::net::TcpStream;
use std::sync::{Arc, Mutex};
use std::thread;
use std::time::Duration;
use util::thread::spawn_named;
pub struct TimelineActor {
name: String,
@ -150,7 +149,7 @@ impl TimelineActor {
return;
}
spawn_named("PullTimelineMarkers".to_owned(), move || {
thread::Builder::new().name("PullTimelineMarkers".to_owned()).spawn(move || {
loop {
if !*is_recording.lock().unwrap() {
break;
@ -164,7 +163,7 @@ impl TimelineActor {
thread::sleep(Duration::from_millis(DEFAULT_TIMELINE_DATA_PULL_TIMEOUT));
}
});
}).expect("Thread spawning failed");
}
}