Home
last modified time | relevance | path

Searched refs:HandleWorkItem (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/WebKit2/Platform/win/
DWorkQueueWin.cpp47 inline WorkQueue::HandleWorkItem::HandleWorkItem(HANDLE handle, PassOwnPtr<WorkItem> item, WorkQueu… in HandleWorkItem() function in WorkQueue::HandleWorkItem
55 PassRefPtr<WorkQueue::HandleWorkItem> WorkQueue::HandleWorkItem::createByAdoptingHandle(HANDLE hand… in createByAdoptingHandle()
57 return adoptRef(new HandleWorkItem(handle, item, queue)); in createByAdoptingHandle()
60 WorkQueue::HandleWorkItem::~HandleWorkItem() in ~HandleWorkItem()
92 RefPtr<HandleWorkItem> handleItem = HandleWorkItem::createByAdoptingHandle(handle, item, this); in registerHandle()
110 RefPtr<HandleWorkItem> item; in unregisterAndCloseHandle()
268 void WorkQueue::unregisterWaitAndDestroyItemSoon(PassRefPtr<HandleWorkItem> item) in unregisterWaitAndDestroyItemSoon()
281 RefPtr<HandleWorkItem> item = adoptRef(static_cast<HandleWorkItem*>(context)); in unregisterWaitAndDestroyItemCallback()
/external/webkit/Source/WebKit2/Platform/
DWorkQueue.h128 class HandleWorkItem : public WorkItemWin {
130 …static PassRefPtr<HandleWorkItem> createByAdoptingHandle(HANDLE, PassOwnPtr<WorkItem>, WorkQueue*);
131 virtual ~HandleWorkItem();
137 HandleWorkItem(HANDLE, PassOwnPtr<WorkItem>, WorkQueue*);
151 static void unregisterWaitAndDestroyItemSoon(PassRefPtr<HandleWorkItem>);
160 HashMap<HANDLE, RefPtr<HandleWorkItem> > m_handles;
/external/webkit/Source/WebKit2/
DChangeLog-2011-02-1631839 WorkQueue now uses a subclass of WorkItemWin, HandleWorkItem, to hold
31841 HANDLE is unregistered, we use the HandleWorkItem to cancel the wait
31861 HandleWorkItem, changed m_handles to hold HandleWorkItems, and added
31866 ensures that HandleWorkItem's destructor gets called.
31868 (WorkQueue::HandleWorkItem::HandleWorkItem):
31869 (WorkQueue::HandleWorkItem::createByAdoptingHandle):
31872 (WorkQueue::HandleWorkItem::~HandleWorkItem): Closes the handle we
31877 HandleWorkItem for this HANDLE from m_handles and then schedules its
31883 ownership of the HandleWorkItem.
31885 passed-in HandleWorkItem, then unregisters the handle's wait, then
[all …]