Skip to content

Commit

Permalink
Put the runner status lock on the class
Browse files Browse the repository at this point in the history
Doesn't need to be a global
  • Loading branch information
Ritchie333 committed Sep 24, 2024
1 parent fa34a49 commit bf0be47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/TileJob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <boost/thread/thread_time.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>

boost::mutex statusLock;
boost::mutex accessTimeLock;

using namespace std;
Expand Down
1 change: 1 addition & 0 deletions src/TileJob.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class TileRunner
class Tile sourceBBox;
int sourceBBoxSet = 0;
class SourceKml* src;
boost::mutex statusLock;
boost::interprocess::interprocess_semaphore semaphore;
};

Expand Down

0 comments on commit bf0be47

Please sign in to comment.