FIX: race condition in FileProcessor (leading to occasional seg fault)
Merge pull request #101 from reneme/fix_race_cond

FIX: Race Condition in FileProcessor

Due to a race condition the FileProcessor occasionally produced a heap corruption, leading to a segmentation fault while publishing a repository.

After a PendingFile is successfully processed and uploaded, the worker thread pushes it into a garbage queue for later deletion. Following this push operation the PendingFile was unlocked by a LockGuard running out of scope.
The race condition occurred, when the garbage queue was emptied by another thread BEFORE this unlock has happened, resulting in a heap corruption when unlocking the already destroyed mutex.
make 64/32 bit inodes an option
Merge branch 'master' of github.com:cvmfs/cvmfs
added a FIFO channel template implementation
integrated new FifoChannel
FIX: race condition for processing of last queue element
symlink expansion fixe
running a callback thread
replaced Job hierarchy by template
added a prefill capability to the FIFO channel
piping the PID of the watchdog process to cvmfs (queryable with cvmfs_talk)
do not use /proc//exe
optionally ignore x-directory hardlinks failures
Merge branch 'master' into fix_stacktrace
few logs for do_all
few fixes to do_all
Merge branch 'master' of git://github.com/cvmfs/cvmfs
never drop root rights completely (might be needed for watchdog later on) - therefore watchdog is now deactivatable (then root permissions are dropped as before)
monitor tries to re-gain root permissions before attching gdb to the died cvmfs2 process