• Show log

    Commit

  • Hash : 24c70804
    Author : Russell Belfer
    Date : 2013-04-12T12:59:38

    Add mutex around mapping and unmapping pack files
    
    When I was writing threading tests for the new cache, the main
    error I kept running into was a pack file having it's content
    unmapped underneath the running thread.  This adds a lock around
    the routines that map and unmap the pack data so that threads can
    effectively reload the data when they need it.
    
    This also required reworking the error handling paths in a couple
    places in the code which I tried to make consistent.