Pigweed
 
Loading...
Searching...
No Matches
pw::async2::backend::NativeDispatcher Class Referencefinal
Inheritance diagram for pw::async2::backend::NativeDispatcher:
pw::async2::NativeDispatcherBase

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
 
NativeDispatcherBaseoperator= (NativeDispatcherBase &)=delete
 
NativeDispatcherBaseoperator= (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)
 

Member Function Documentation

◆ DoWake()

void pw::async2::backend::NativeDispatcher::DoWake ( )
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 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.


The documentation for this class was generated from the following file: