Changeset 5028


Ignore:
Timestamp:
May 4, 2016, 7:55:00 PM (19 months ago)
Author:
cameron
Message:

Fix for threading to ensure first file is processed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r5026 r5028  
    103103
    104104    count_mutex.lock();
     105    fileIdx = fileCount;
    105106    fileCount++;
    106     fileIdx = fileCount;
    107107    count_mutex.unlock();
    108108
     
    111111       
    112112        count_mutex.lock();
     113        fileIdx = fileCount;
    113114        fileCount++;
    114         fileIdx = fileCount;
    115115        count_mutex.unlock();
    116116    }
Note: See TracChangeset for help on using the changeset viewer.