git-annex/Assistant
Joey Hess 4888c5b042 improve thread termination handling
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.
2012-06-28 13:37:03 -04:00
..
Threads improve thread termination handling 2012-06-28 13:37:03 -04:00
Changes.hs license 2012-06-23 01:20:40 -04:00
Commits.hs license 2012-06-23 01:20:40 -04:00
DaemonStatus.hs license 2012-06-23 01:20:40 -04:00
Pushes.hs use a TMVar 2012-06-26 19:21:44 -04:00
ThreadedMonad.hs license 2012-06-23 01:20:40 -04:00