summaryrefslogtreecommitdiff
path: root/Utility/DirWatcher.hs
Commit message (Collapse)AuthorAge
* typoGravatar Joey Hess2012-06-28
|
* fix kqueue buildGravatar Joey Hess2012-06-28
|
* improve thread termination handlingGravatar Joey Hess2012-06-28
| | | | | | | | | | The reason the DirWatcher had to wait for program termination was because it used withINotify, so when it finished, its watcher threads were killed. But since I have two DirWatcher threads now, that was not good, and could perhaps explain the MVar problem I saw yesterday. In any case, fixed this part of the code by making the DirWatcher return a handle that can be used to stop it, and now the main Assistant thread is the only one calling waitForTermination.
* typoGravatar Joey Hess2012-06-20
|
* add closingTracked flagGravatar Joey Hess2012-06-19
|
* add eventsCoalesceGravatar Joey Hess2012-06-19
|
* 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.