Home
last modified time | relevance | path

Searched refs:Waiter (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Dwaiter.rs41 pub struct Waiter { struct
45 impl Waiter { argument
57 pub fn new() -> Waiter { in new()
58 Waiter { in new()
H A Dmod.rs32 pub use waiter::Waiter;
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dschedule_io.rs52 list: LinkedList<Waiter>,
62 pub(crate) struct Waiter { struct
69 node: Node<Waiter>, argument
88 impl Default for Waiter { implementation
90 Waiter { in default()
100 unsafe impl Link for Waiter { implementation
300 waiter: UnsafeCell<Waiter>,
314 waiter: UnsafeCell::new(Waiter { in new()
328 waiter: &UnsafeCell<Waiter>, in poll_init() argument
377 waiter: &UnsafeCell<Waiter>, in set_waker() argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/
H A Dinner_event.h47 class Waiter {
49 Waiter() = default;
50 virtual ~Waiter() = default;
51 DISALLOW_COPY_AND_MOVE(Waiter);
492 const std::shared_ptr<Waiter> &CreateWaiter();
522 std::shared_ptr<Waiter> waiter_;
/ohos5.0/base/notification/eventhandler/interfaces/inner_api/
H A Dinner_event.h83 class Waiter {
85 Waiter() = default;
86 virtual ~Waiter() = default;
87 DISALLOW_COPY_AND_MOVE(Waiter);
848 const std::shared_ptr<Waiter> &CreateWaiter();
882 std::shared_ptr<Waiter> waiter_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Dinner_event.cpp30 class WaiterImp final : public InnerEvent::Waiter {
225 const std::shared_ptr<InnerEvent::Waiter> &InnerEvent::CreateWaiter() in CreateWaiter()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dsync.rs26 use ylong_runtime::sync::{Mutex as YlongMutex, RwLock, Waiter};
439 let waiter = Arc::new(Waiter::new()); in sdv_waiter_with_wake_one()
469 let waiter = Arc::new(Waiter::new()); in sdv_waiter_with_wake_all()
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/
H A Dinner_event.cpp35 class WaiterImp final : public InnerEvent::Waiter {
197 const std::shared_ptr<InnerEvent::Waiter> &InnerEvent::CreateWaiter() in CreateWaiter()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dcurrent_thread.rs318 use crate::sync::Waiter;
442 let waiter = Arc::new(Waiter::new()); in ut_current_thread_run_queue()