Searched refs:EventSource (Results 1 - 10 of 10) sorted by relevance

/fuchsia/zircon/system/ulib/dispatcher-pool/include/dispatcher-pool/
H A Ddispatcher-event-source.h28 // class EventSource
30 // EventSource is the base class of all things which can be dispatched in the
39 // EventSource at the point of activation. When an event source is no longer
43 class EventSource : public fbl::RefCounted<EventSource> { class in namespace:dispatcher
62 EventSource(zx_signals_t process_signal_mask);
63 virtual ~EventSource();
111 friend class fbl::RefPtr<EventSource>;
115 static fbl::DoublyLinkedListNodeState<fbl::RefPtr<EventSource>>&
116 node_state(EventSource
[all...]
H A Ddispatcher-execution-domain.h27 // the ExecutionDomain they are bound to guarantees that only one EventSource's
113 friend class EventSource;
118 using DispatchState = EventSource::DispatchState;
133 zx_status_t AddEventSource(fbl::RefPtr<EventSource>&& source)
135 void RemoveEventSource(EventSource* source)
142 bool AddPendingWork(EventSource* source)
148 bool RemovePendingWork(EventSource* source)
164 fbl::DoublyLinkedList<fbl::RefPtr<EventSource>,
165 EventSource::SourcesListTraits> sources_
167 fbl::DoublyLinkedList<fbl::RefPtr<EventSource>,
[all...]
H A Ddispatcher-wakeup-event.h42 class WakeupEvent : public EventSource {
60 WakeupEvent() : EventSource(ZX_USER_SIGNAL_0) { }
H A Ddispatcher-timer.h46 class Timer : public EventSource {
72 : EventSource(ZX_TIMER_SIGNALED),
H A Ddispatcher-interrupt.h36 class Interrupt : public EventSource {
58 Interrupt() : EventSource(0) { }
H A Ddispatcher-channel.h97 class Channel : public EventSource {
146 Channel() : EventSource(ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED) { }
/fuchsia/zircon/system/ulib/dispatcher-pool/
H A Ddispatcher-event-source.cpp15 EventSource::EventSource(zx_signals_t process_signal_mask) function in class:dispatcher::EventSource
18 EventSource::~EventSource() {
25 void EventSource::InternalDeactivateLocked() {
59 zx_status_t EventSource::ActivateLocked(zx::handle handle, fbl::RefPtr<ExecutionDomain> domain) {
83 zx_status_t EventSource::WaitOnPortLocked() {
106 zx_status_t EventSource::CancelPendingLocked() {
144 zx_status_t EventSource::DoPortWaitLocked() {
152 zx_status_t EventSource
[all...]
H A Ddispatcher-execution-domain.cpp61 fbl::DoublyLinkedList<fbl::RefPtr<EventSource>, EventSource::SourcesListTraits> to_deactivate;
123 fbl::RefPtr<EventSource>&& event_source) {
147 void ExecutionDomain::RemoveEventSource(EventSource* event_source) {
165 bool ExecutionDomain::AddPendingWork(EventSource* event_source) {
194 bool ExecutionDomain::RemovePendingWork(EventSource* event_source) {
218 fbl::RefPtr<EventSource> source;
242 // before we managed to re-enter both the EventSource's object lock and
H A Ddispatcher-thread-pool.cpp324 static_assert(sizeof(pkt.key) >= sizeof(EventSource*),
327 fbl::internal::MakeRefPtrNoAdopt(reinterpret_cast<EventSource*>(pkt.key));
H A Ddispatcher-channel.cpp118 zx_status_t res = EventSource::ActivateLocked(fbl::move(channel), fbl::move(domain));

Completed in 78 milliseconds