Skip to content

Commit

Permalink
Remove thread pool
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Nov 7, 2019
1 parent 2085102 commit e233f2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bastion/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
//! [lightproc]: https://docs.rs/lightproc/
//!
#![doc(html_logo_url = "https://raw.githubusercontent.com/bastion-rs/bastion/master/img/bastion-logo.png")]


#![doc(
html_logo_url = "https://raw.githubusercontent.com/bastion-rs/bastion/master/img/bastion-logo.png"
)]
// Force missing implementations
#![warn(missing_docs)]
#![warn(missing_debug_implementations)]
Expand Down
3 changes: 0 additions & 3 deletions bastion/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ pub(crate) struct System {

impl System {
pub(crate) fn init() -> Sender {
// FIXME unsafe?
unsafe { POOL = Some(ThreadPool::default()) };

let parent = Parent::none();
let bcast = Broadcast::with_id(parent, NIL_ID);
let launched = FxHashMap::default();
Expand Down

0 comments on commit e233f2e

Please sign in to comment.