git-annex/Utility
Joey Hess 82448bdf39
fix a annex.pidlock issue
That made eg git-annex get of an unlocked file hang until the
annex.pidlocktimeout and then fail.

This fix should be fully thread safe no matter what else git-annex is
doing.

Only using runsGitAnnexChildProcess in the one place it's known to be a
problem. Could audit for all places where git-annex runs itself as a child
and add it to all of them, later.
2020-06-17 15:30:59 -04:00
..
Directory explict export lists 2019-11-21 16:08:37 -04:00
DirWatcher explict export lists 2019-11-21 16:08:37 -04:00
Env fix a annex.pidlock issue 2020-06-17 15:30:59 -04:00
LockFile fix a annex.pidlock issue 2020-06-17 15:30:59 -04:00
LockPool add DebugLocks build flag 2018-11-19 15:02:43 -04:00
Path explict export lists 2019-11-21 16:08:37 -04:00
Process bracket createPipe for async exception safety 2020-06-05 13:58:04 -04:00
Scheduled explict export lists 2019-11-23 11:24:10 -04:00
Tmp explict export lists 2019-11-23 11:24:10 -04:00
Aeson.hs switch MetaValue to ByteString and MetaField to Text 2019-01-07 14:18:24 -04:00
Android.hs explict export lists 2019-11-21 16:08:37 -04:00
Applicative.hs squelch tab warnings 2019-11-22 12:49:41 -04:00
Attoparsec.hs fix git ls-tree parser 2019-12-06 14:05:48 -04:00
AuthToken.hs comment typo 2019-01-03 00:22:05 -04:00
Base64.hs switch MetaValue to ByteString and MetaField to Text 2019-01-07 14:18:24 -04:00
Batch.hs simplify 2020-06-03 13:01:18 -04:00
Bloom.hs remove many old version ifdefs 2019-07-05 15:09:37 -04:00
CoProcess.hs async exception safety for coprocesses 2020-06-09 13:44:23 -04:00
CopyFile.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
Daemon.hs some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00
Data.hs explict export lists 2019-11-21 16:08:37 -04:00
DataUnits.hs
DBus.hs explict export lists 2019-11-21 16:08:37 -04:00
DebugLocks.hs explict export lists 2019-11-21 16:08:37 -04:00
Directory.hs remove unused imports 2020-03-30 12:11:52 -04:00
DirWatcher.hs explict export lists 2019-11-21 16:08:37 -04:00
DiskFree.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Dot.hs explict export lists 2019-11-21 16:08:37 -04:00
DottedVersion.hs explict export lists 2019-11-21 16:08:37 -04:00
Env.hs explict export lists 2019-11-21 16:08:37 -04:00
Exception.hs async exception safety for coprocesses 2020-06-09 13:44:23 -04:00
FileMode.hs Make test suite work better when the temp directory is on NFS. 2018-12-19 12:44:56 -04:00
FileSize.hs use RawFilePath getFileStatus for speed 2019-12-06 14:44:42 -04:00
FileSystemEncoding.hs use conversion functions from filepath-bytestring (again) 2020-01-04 20:18:40 -04:00
Format.hs add a formatContainsVar function 2020-05-19 15:35:00 -04:00
FreeDesktop.hs
GitLFS.hs remove unused 2019-09-24 18:16:01 -04:00
Glob.hs
Gpg.hs fix strictness issue 2020-06-16 17:09:34 -04:00
Hash.hs split up quickcheck tests for hashes and macs 2020-03-02 14:34:48 -04:00
HtmlDetect.hs explict export lists 2019-11-21 16:08:37 -04:00
HttpManagerRestricted.hs merge from http-client-restricted 2019-07-17 16:48:50 -04:00
HumanNumber.hs explict export lists 2019-11-21 16:08:37 -04:00
HumanTime.hs changelog and minor style 2020-02-28 12:57:55 -04:00
InodeCache.hs Merge branch 'bs' into sqlite-bs 2019-12-18 14:51:03 -04:00
IPAddress.hs annex.security.allowed-ip-addresses ports syntax 2020-02-25 15:45:52 -04:00
libkqueue.c
libkqueue.h
LinuxMkLibs.hs missed an export 2019-11-22 12:35:57 -04:00
LockFile.hs
LockPool.hs
LogFile.hs explict export lists 2019-11-21 16:08:37 -04:00
Lsof.hs convert to withCreateProcess for async exception safety 2020-06-04 12:44:09 -04:00
MagicWormhole.hs convert to withCreateProcess 2020-06-03 13:15:01 -04:00
Matcher.hs avoid list lookup by parseToken 2019-05-14 13:11:29 -04:00
MD5.hs use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
Metered.hs async exception safety 2020-06-03 13:19:28 -04:00
Misc.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Monad.hs explict export lists 2019-11-21 16:08:37 -04:00
Mounts.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Network.hs explict export lists 2019-11-21 16:08:37 -04:00
NotificationBroadcaster.hs
OptParse.hs explict export lists 2019-11-21 16:08:37 -04:00
OSX.hs explict export lists 2019-11-21 16:08:37 -04:00
PartialPrelude.hs explict export lists 2019-11-21 16:08:37 -04:00
Path.hs Display a warning message when asked to operate on a file inside a directory that's a symbolic link to elsewhere 2020-05-11 15:03:35 -04:00
Percentage.hs
PID.hs explict export lists 2019-11-21 16:08:37 -04:00
Process.hs add debug logging wrapper for withCreateProcess 2020-06-11 16:43:24 -04:00
QuickCheck.hs remove many old version ifdefs 2019-07-05 15:09:37 -04:00
RawFilePath.hs windows build fix 2020-01-01 12:24:31 -04:00
ResourcePool.hs check-attr resource pool 2020-04-21 11:05:57 -04:00
Rsync.hs explict export lists 2019-11-21 16:08:37 -04:00
SafeCommand.hs make safeCommand stop the process if the thread gets killed 2020-06-03 12:52:11 -04:00
Scheduled.hs add dropFromEnd 2018-11-23 11:24:05 -04:00
Shell.hs explict export lists 2019-11-23 11:24:10 -04:00
SimpleProtocol.hs clean P2P protocol shutdown on EOF 2018-09-13 10:46:37 -04:00
Split.hs reword comment 2019-11-27 16:38:18 -04:00
SshConfig.hs explict export lists 2019-11-23 11:24:10 -04:00
SshHost.hs
Su.hs explict export lists 2019-11-21 16:08:37 -04:00
SystemDirectory.hs
Tense.hs explict export lists 2019-11-23 11:24:10 -04:00
ThreadLock.hs explict export lists 2019-11-23 11:24:10 -04:00
ThreadScheduler.hs explict export lists 2019-11-23 11:24:10 -04:00
TimeStamp.hs explict export lists 2019-11-23 11:24:10 -04:00
TList.hs explict export lists 2019-11-23 11:24:10 -04:00
Tmp.hs explict export lists 2019-11-23 11:24:10 -04:00
Tor.hs explict export lists 2019-11-23 11:24:10 -04:00
Touch.hs remove unused import 2018-10-30 13:38:29 -04:00
Tuple.hs explict export lists 2019-11-23 11:24:10 -04:00
Url.hs fix some build warnings 2020-05-04 12:44:26 -04:00
UserInfo.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Verifiable.hs explict export lists 2019-11-23 11:24:10 -04:00
WebApp.hs explict export lists 2019-11-23 11:24:10 -04:00
Yesod.hs remove many old version ifdefs 2019-07-05 15:09:37 -04:00