Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ compio-ws = { path = "./compio-ws", version = "0.3.0", default-features = false
bytes = "1.7.1"
cfg_aliases = "0.2.1"
cfg-if = "1.0.0"
compio-send-wrapper = "0.7.0"
criterion = "0.8.0"
crossbeam-queue = "0.3.8"
flume = { version = "0.12.0", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions compio-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ compio-io = { workspace = true, optional = true }
async-task = "4.5.0"
cfg-if = { workspace = true }
criterion = { workspace = true, optional = true }
compio-send-wrapper = { workspace = true }
core_affinity = "0.8.3"
crossbeam-queue = { workspace = true }
futures-util = { workspace = true }
Expand Down
3 changes: 0 additions & 3 deletions compio-runtime/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ mod scheduler;
mod opt_waker;
pub use opt_waker::OptWaker;

mod send_wrapper;
use send_wrapper::SendWrapper;

#[cfg(feature = "time")]
use crate::runtime::time::{TimerFuture, TimerKey, TimerRuntime};
use crate::{BufResult, affinity::bind_to_cpu_set, runtime::scheduler::Scheduler};
Expand Down
2 changes: 1 addition & 1 deletion compio-runtime/src/runtime/opt_waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{
};

#[cfg(not(feature = "notify-always"))]
use crate::runtime::send_wrapper::SendWrapper;
use compio_send_wrapper::SendWrapper;

/// An optimized waker that avoids unnecessary wake-ups on the same thread.
pub struct OptWaker {
Expand Down
6 changes: 2 additions & 4 deletions compio-runtime/src/runtime/scheduler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ use std::{
};

use async_task::{Runnable, Task};
use compio_send_wrapper::SendWrapper;
use crossbeam_queue::SegQueue;
use slab::Slab;

use crate::runtime::{
SendWrapper,
scheduler::{drop_hook::DropHook, local_queue::LocalQueue},
};
use crate::runtime::scheduler::{drop_hook::DropHook, local_queue::LocalQueue};

mod drop_hook;
mod local_queue;
Expand Down
138 changes: 0 additions & 138 deletions compio-runtime/src/runtime/send_wrapper.rs

This file was deleted.

Loading