HomeSort by relevance Sort by last modified time
    Searched refs:dispatchSource (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebKit2/Platform/mac/
WorkQueueMac.cpp 62 EventSource(MachPortEventType eventType, dispatch_source_t dispatchSource, PassOwnPtr<WorkItem> workItem)
64 , m_dispatchSource(dispatchSource)
69 dispatch_source_t dispatchSource() const { return m_dispatchSource; }
124 dispatch_source_t dispatchSource = dispatch_source_create(sourceType, machPort, 0, m_dispatchQueue);
126 EventSource* eventSource = new EventSource(eventType, dispatchSource, workItem);
127 dispatch_set_context(dispatchSource, eventSource);
129 dispatch_source_set_event_handler_f(dispatchSource, &EventSource::eventHandler);
130 dispatch_source_set_cancel_handler_f(dispatchSource, &EventSource::cancelHandler);
131 dispatch_set_finalizer_f(dispatchSource, &EventSource::finalizeHandler);
142 dispatch_resume(dispatchSource);
    [all...]
  /external/webkit/Source/WebKit2/Platform/gtk/
WorkQueueGtk.cpp 146 GRefPtr<GSource> dispatchSource = adoptGRef(g_socket_create_source(socket.get(), static_cast<GIOCondition>(condition), cancellable.get()));
147 ASSERT(dispatchSource);
151 g_source_set_callback(dispatchSource.get(), reinterpret_cast<GSourceFunc>(&WorkQueue::EventSource::performWork),
166 g_source_attach(dispatchSource.get(), m_eventContext);
188 void WorkQueue::scheduleWorkOnSource(GSource* dispatchSource, PassOwnPtr<WorkItem> item, GSourceFunc sourceCallback)
192 g_source_set_callback(dispatchSource, sourceCallback, eventSource,
195 g_source_attach(dispatchSource, m_eventContext);
200 GRefPtr<GSource> dispatchSource = adoptGRef(g_idle_source_new());
201 ASSERT(dispatchSource);
202 g_source_set_priority(dispatchSource.get(), G_PRIORITY_DEFAULT)
    [all...]

Completed in 1035 milliseconds