Skip to content

Commit

Permalink
Example organization
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Oct 24, 2019
1 parent 9c19e6d commit a758aea
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lightproc/examples/proc_run.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
//! A function that runs a future to completion on a dedicated thread.
use std::future::Future;
use std::sync::Arc;
use std::thread;

use crossbeam::channel;
use futures::executor;
use lightproc::prelude::*;
use std::future::Future;
use std::sync::Arc;
use std::thread;

fn spawn_on_thread<F, R>(fut: F) -> ProcHandle<R>
where
Expand Down

0 comments on commit a758aea

Please sign in to comment.