Skip to content

Commit

Permalink
Merge pull request #342 from trtsl/executor-directory
Browse files Browse the repository at this point in the history
Executor directory
  • Loading branch information
Glauber Costa authored Apr 30, 2021
2 parents e9dcb04 + 77e63bf commit 75e0e96
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/sharding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn main() {
#[derive(Clone)]
struct RequestHandler {
nr_shards: usize,
};
}

impl Handler<i32> for RequestHandler {
fn handle(&self, msg: Msg, _src_shard: usize, cur_shard: usize) -> HandlerResult {
Expand Down
3 changes: 2 additions & 1 deletion glommio/src/executor.rs → glommio/src/executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

#![warn(missing_docs, missing_debug_implementations)]

mod multitask;

use std::{
cell::RefCell,
collections::{hash_map::Entry, BinaryHeap},
Expand All @@ -47,7 +49,6 @@ use futures_lite::pin;
use scoped_tls::scoped_thread_local;

use crate::{
multitask,
parking,
sys,
task::{self, waker_fn::waker_fn},
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion glommio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ pub mod controllers;
mod error;
mod executor;
pub mod io;
mod multitask;
pub mod net;
mod shares;
pub mod sync;
Expand Down

0 comments on commit 75e0e96

Please sign in to comment.