Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fugoes/yaay-rs
/ types & classes
Types & classes
41 in github.com/Fugoes/yaay-rs
⨍
Functions
151
◇
Types & classes
41
↓ 2 callers
Class
Block
yaay-tests/src/mio_ping_pong.rs:57
↓ 2 callers
Class
Block
yaay-tests/src/tokio_ping_pong.rs:65
↓ 2 callers
Class
Shutdown
A future for shutdown the whole runtime.
yaay-mt-runtime/src/worker.rs:195
↓ 2 callers
Class
TcpStreamReadHandle
yaay-mio/src/net/tcp_stream.rs:6
↓ 2 callers
Class
TcpStreamWriteHandle
yaay-mio/src/net/tcp_stream.rs:10
↓ 1 callers
Class
Dummy
yaay-tests/src/concurrent_wakeup.rs:22
↓ 1 callers
Class
PendingOnce
yaay-mio/src/dispatcher.rs:118
↓ 1 callers
Class
SyncTaskListGuard
Guard for locked `SyncTaskList`.
yaay-mt-runtime/src/task_list.rs:144
↓ 1 callers
Class
TcpListenerAcceptor
yaay-mio/src/net/tcp_listener.rs:9
↓ 1 callers
Class
TcpStreamReader
yaay-mio/src/net/tcp_stream.rs:8
↓ 1 callers
Class
TcpStreamWriter
yaay-mio/src/net/tcp_stream.rs:12
↓ 1 callers
Class
Test
yaay-tests/src/concurrent_wakeup.rs:39
↓ 1 callers
Class
WakerFuture
A future that returns current worker's waker.
yaay-mio/src/helper.rs:47
↓ 1 callers
Class
WorkerGuard
Manage destruction of all workers. Used in the main thread.
yaay-mt-runtime/src/worker_manager.rs:41
Class
BatchGuard
yaay-mt-runtime/src/batch.rs:8
Class
Dispatcher
yaay-mio/src/dispatcher.rs:13
Class
DispatcherInner
yaay-mio/src/dispatcher.rs:98
Class
Epoch
yaay-mt-runtime/src/epoch.rs:156
Class
GlobalData
yaay-mio/src/shared.rs:32
Class
LocalData
yaay-mio/src/shared.rs:17
Class
MIO
A mio wraps up a mio handle, it is bind to one top level task. On creation, it would store the task's waker inside the dispatcher. Since waker clone i
yaay-mio/src/container.rs:34
Class
MIOCell
A mio cell holds a mio evented instance. It include drop implementation.
yaay-mio/src/container.rs:11
Class
MIOHandle
A mio handle represents a mio evented instance which accept one kind of event (either readable or writable). Safe to transfer between top level tasks.
yaay-mio/src/container.rs:22
Class
MTRuntime
yaay-mt-runtime/src/runtime.rs:11
Class
Private
yaay-mt-runtime/src/worker.rs:37
Interface
RuntimeAPI
yaay-runtime-api/src/lib.rs:3
Class
RuntimeLocalData
To support batching push tasks, as well as reduce `next_epoch()` calls, store a `RuntimeLocalData` pointer in the reactor's thread local storage. When
yaay-mt-runtime/src/task.rs:240
Class
RuntimeSharedData
yaay-mt-runtime/src/worker_manager.rs:44
Class
Shared
yaay-mt-runtime/src/worker.rs:24
Class
Slot
yaay-mio/src/shared.rs:27
Class
SyncTaskList
A thread safe task list. It is protected by a mutex. Since the critical section is small (usually involves only two memory stores), and no memory allo
yaay-mt-runtime/src/task_list.rs:113
Class
Task
Dynamically dispatched `Task` which wraps up a `Future`. It meets the following requirements: - One task shouldn't be in multiple workers' local queue
yaay-mt-runtime/src/task.rs:22
Class
TaskInner
yaay-mt-runtime/src/task.rs:207
Class
TaskList
A single linked list of `Task`. Since the next pointer is stored in `Task`, all methods are memory allocation free.
yaay-mt-runtime/src/task_list.rs:13
Class
TaskVTable
yaay-mt-runtime/src/task.rs:195
Class
TcpListenerHandle
yaay-mio/src/net/tcp_listener.rs:7
Class
TcpStream
yaay-mio/src/net/tcp_stream.rs:14
Class
Worker
Runtime worker. Each runtime threads' worker is stored in a thread local variable.
yaay-mt-runtime/src/worker.rs:16
Class
WorkerBuilder
Manage each worker's initialization. Used in all worker threads.
yaay-mt-runtime/src/worker_manager.rs:33
Class
WorkerManager
Manage initialization of all workers. Used in the main thread.
yaay-mt-runtime/src/worker_manager.rs:27
Class
WorkerManagerData
yaay-mt-runtime/src/worker_manager.rs:15