summaryrefslogtreecommitdiff
path: root/Utility/Kqueue.hs
Commit message (Collapse)AuthorAge
* kqueue synthetic add events on startupGravatar Joey Hess2012-06-19
|
* kqueue recursive directory addingGravatar Joey Hess2012-06-19
|
* fix schedulingGravatar Joey Hess2012-06-19
| | | | Handle kevent interruptions in the haskell code, so it can yield to other threads
* kqueue build fixGravatar Joey Hess2012-06-19
| | | | new event dispatch seems a bit broken though
* lifted out the kqueue and inotify to a generic DirWatcher interfaceGravatar Joey Hess2012-06-18
| | | | | Kqueue code for dispatching events is not tested and probably doesn't build.
* robustness fixesGravatar Joey Hess2012-06-19
|
* update kqueue when new directories are addedGravatar Joey Hess2012-06-18
|
* kqueue: add directory content tracking, and change determinationGravatar Joey Hess2012-06-18
| | | | | | | | | | | | | | This *may* now return Add or Delete Changes as appropriate. All I know for sure is that it compiles. I had hoped to avoid maintaining my own state about the content of the directory tree, and rely on git to check what was changed. But I can't; I need to know about new and deleted subdirectories to add them to the watch list, and git doesn't deal with (empty) directories. So, wrote all the code to scan directories, remember their past contents, compare with current contents, generate appropriate Change events, and update bookkeeping info appropriately.
* close fdsGravatar Joey Hess2012-06-18
|
* kqueue code compiles on debian kfreebsdGravatar Joey Hess2012-06-18
|
* flesh out kqueue libraryGravatar Joey Hess2012-06-18
| | | | | Have not tried to build this yet. But barring minor mistakes, I think it's good.
* add some utility functions for laterGravatar Joey Hess2012-06-18
| | | | Will need to update the DirMap to add or remove subdirs.
* recurse dirTree and open the directories for kqueue to watchGravatar Joey Hess2012-06-18
|
* skeleton C library for calling kqueueGravatar Joey Hess2012-06-18