EventLoopImpl

version(Posix)
struct EventLoopImpl {
fd_t m_epollfd;
HashMap!(Tuple!(fd_t, uint), DWFolderInfo) m_dwFolders;
fd_t m_kqueuefd;
HashMap!(fd_t, EventInfo*) m_watchers;
HashMap!(fd_t, DWFolderInfo) m_dwFolders;
HashMap!(fd_t, DWFileInfo) m_dwFiles;
HashMap!(fd_t, Array!(DWChangeInfo)*) m_changes;
}

Members

Functions

compareFolderFiles
bool compareFolderFiles(DWFolderInfo fi, DWFileEvent events)

For DirectoryWatcher In kqueue/vnode, all we get is the folder in which changes occured. We have to figure out what changed exactly and put the results in a container for the readChanges call.

Mixins

__anonymous
mixin RunKill!()

workaround for IDE indent bug on too big files

Meta