Home
last modified time | relevance | path

Searched refs:Handle (Results 1 - 13 of 13) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Ddriver_handle.rs39 pub(crate) struct Handle {
46 impl Handle { impls
53 pub(crate) fn get_handle() -> io::Result<Arc<Handle>> {
61 impl Handle { impls
86 impl Handle { impls
103 impl Handle { impls
125 pub(crate) struct Handle {
129 impl Handle { impls
130 pub(crate) fn get_handle() -> io::Result<Arc<Handle>> {
131 Ok(Arc::new(Handle{i
[all...]
H A Ddriver.rs17 pub(crate) use crate::executor::driver_handle::Handle;
49 pub(crate) fn initialize() -> (Arc<Handle>, Arc<Mutex<Driver>>) {
54 let handle = Handle {
H A Dparker.rs20 use crate::executor::driver::{Driver, Handle, ParkFlag};
55 pub(crate) fn unpark(&self, handle: Arc<Handle>) {
165 fn unpark(&self, handle: Arc<Handle>) { in unpark()
H A Dworker.rs21 use crate::executor::driver::Handle;
60 pub(crate) _handle: Arc<Handle>,
91 pub(crate) fn run_worker(worker: Arc<Worker>, handle: Arc<Handle>) {
H A Dcurrent_thread.rs25 use crate::executor::driver::{Driver, Handle, ParkFlag};
43 pub(crate) handle: Arc<Handle>,
84 handle: Arc<Handle>,
88 fn new(driver: Arc<Mutex<Driver>>, handle: Arc<Handle>) -> Parker { in new()
H A Dmod.rs31 pub(crate) use driver_handle::Handle;
88 pub(crate) fn get_handle(&self) -> std::sync::Arc<Handle> {
H A Dasync_pool.rs22 use super::driver::{Driver, Handle};
53 pub(crate) handle: Arc<Handle>,
68 pub(crate) fn new(thread_num: usize, handle: Arc<Handle>) -> Self {
373 /// Handle for shutting down the pool
392 fn async_thread_proc(inner: Arc<Inner>, worker: Arc<Worker>, handle: Arc<Handle>) { in async_thread_proc()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dhandle.rs20 pub(crate) struct Handle(HANDLE);
22 impl Handle { impls
39 impl Drop for Handle {
H A Diocp.rs18 use super::Handle;
29 handle: Handle,
40 handle: Handle::new(handle),
H A Dmod.rs34 use handle::Handle;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Ddriver.rs19 use crate::executor::driver::Handle;
49 pub(crate) fn initialize(handle: &Handle) -> SignalDriver {
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Ddispatcher.rs15 type Handle; types
17 fn dispatch(&self) -> Option<Self::Handle>; in dispatch()
37 type Handle = Conn<S>; types
39 fn dispatch(&self) -> Option<Self::Handle> { in dispatch()
135 type Handle = Http1Conn<S>; types
137 fn dispatch(&self) -> Option<Self::Handle> { in dispatch()
156 /// Handle returned to other threads for I/O operations.
384 type Handle = Http2Conn<S>; types
386 fn dispatch(&self) -> Option<Self::Handle> { in dispatch()
847 type Handle types
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dasync_source.rs26 use crate::executor::Handle;
41 /// Handle to the IO Driver, used for deregistration
42 pub(crate) handle: Arc<Handle>,
64 let inner = Handle::get_handle()?; in new()

Completed in 6 milliseconds