git-annex/Utility
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
..
Types added a merger thread 2012-06-22 17:01:08 -04:00
Base64.hs rename 2011-07-05 20:24:10 -04:00
CoProcess.hs refactor 2012-02-20 15:22:21 -04:00
CopyFile.hs Pass -a to cp even when it supports --reflink=auto, to preserve permissions. 2012-05-15 14:18:51 -04:00
Daemon.hs fix pid file writing 2012-06-15 20:42:53 -04:00
DataUnits.hs hslint 2011-12-09 01:57:13 -04:00
Directory.hs kqueue: add directory content tracking, and change determination 2012-06-18 21:29:30 -04:00
DirWatcher.hs improve thread termination handling 2012-06-28 13:37:03 -04:00
DiskFree.hs tweak 2012-04-18 13:23:46 -04:00
Dot.hs finished hlint pass 2011-07-15 12:47:14 -04:00
Exception.hs simplify 2012-03-16 02:12:56 -04:00
FileMode.hs in which I discover void 2012-04-21 23:06:19 -04:00
FileSystemEncoding.hs [Word8] to filesystem encoded String 2012-06-20 12:51:25 -04:00
Format.hs hlint 2012-02-16 00:44:51 -04:00
Gpg.hs avoid ByteString.Char8 where not needed 2012-06-20 13:13:40 -04:00
INotify.hs lifted out the kqueue and inotify to a generic DirWatcher interface 2012-06-18 23:49:07 -04:00
JSONStream.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Kqueue.hs kqueue synthetic add events on startup 2012-06-19 10:08:06 -04:00
libdiskfree.c Enable diskfree on kfreebsd, using statvfs. 2012-06-17 18:10:57 -04:00
libdiskfree.h Renamed diskfree.c to avoid OSX case insensativity bug. 2012-04-13 11:26:39 -04:00
libkqueue.c fix prototype 2012-06-19 01:57:19 -04:00
libkqueue.h fix prototype 2012-06-19 01:57:19 -04:00
LogFile.hs daemonize git annex watch 2012-06-11 00:39:09 -04:00
Lsof.hs add lsof build deps 2012-06-15 23:29:39 -04:00
Matcher.hs fun with symbols 2012-03-17 00:38:40 -04:00
Misc.hs factor out Utility.FileSystemEncoding 2012-03-09 19:08:10 -04:00
Monad.hs noop 2012-04-21 23:32:33 -04:00
Parallel.hs use a TMVar 2012-06-26 19:21:44 -04:00
PartialPrelude.hs rename readMaybe to readish 2012-01-23 17:00:10 -04:00
Path.hs move 2012-03-11 18:12:36 -04:00
Percentage.hs percentage library 2012-04-29 17:48:07 -04:00
RsyncFile.hs update 2012-05-02 11:43:30 -04:00
SafeCommand.hs add safeSystem 2011-11-09 17:28:35 -04:00
State.hs switch to the strict state monad 2012-01-29 22:55:06 -04:00
TempFile.hs IO exception rework 2012-02-03 16:47:24 -04:00
ThreadLock.hs reorg 2012-06-17 14:02:40 -04:00
ThreadScheduler.hs add a push retry thread 2012-06-25 16:38:12 -04:00
Touch.hsc unbreak code inside ifdef 2012-04-22 11:22:20 -04:00
TSet.hs stub syncer thread and commit channel 2012-06-22 14:10:25 -04:00
Url.hs bugfixes 2012-04-22 01:20:17 -04:00