Private Member Functions | |
| void | DoWake () final |
Friends | |
| class | ::pw::async2::Dispatcher |
Additional Inherited Members | |
Public Member Functions inherited from pw::async2::NativeDispatcherBase | |
| NativeDispatcherBase (NativeDispatcherBase &)=delete | |
| NativeDispatcherBase (NativeDispatcherBase &&)=delete | |
| NativeDispatcherBase & | operator= (NativeDispatcherBase &)=delete |
| NativeDispatcherBase & | operator= (NativeDispatcherBase &&)=delete |
Protected Member Functions inherited from pw::async2::NativeDispatcherBase | |
| bool | HasPostedTask (Task &task) |
Check that a task is posted on this Dispatcher. | |
| void | Deregister () |
| void | Post (Task &task) |
| SleepInfo | AttemptRequestWake (bool allow_empty) |
| RunOneTaskResult | RunOneTask (Dispatcher &dispatcher, Task *task_to_look_for) |
| uint32_t | tasks_polled () const |
| uint32_t | tasks_completed () const |
| uint32_t | sleep_count () const |
| uint32_t | wake_count () const |
|
inlinefinalprivatevirtual |
Sends a wakeup signal to this Dispatcher.
This method's implementation should ensure that the Dispatcher comes back from sleep and begins invoking RunOneTask again.
Note: the impl::dispatcher_lock() may or may not be held here, so it must not be acquired by DoWake, nor may DoWake assume that it has been acquired.
Implements pw::async2::NativeDispatcherBase.