1
0
Fork 0

Ease separation of the different stages

This commit is contained in:
Martin Spott 2013-10-14 07:30:05 -07:00
parent 4959236103
commit 7cca6919ab

View file

@ -190,14 +190,14 @@ int main(int argc, char **argv) {
bucketList.push_back( SGBucket( tile_id ) );
}
std::vector<TGConstruct *> constructs;
/* fill the workqueue */
for (unsigned int i=0; i<bucketList.size(); i++) {
wq.push( bucketList[i] );
}
// now create the worker threads for stage 1
std::vector<TGConstruct *> constructs;
for (int i=0; i<num_threads; i++) {
TGConstruct* construct = new TGConstruct( areas, 1, wq );
//construct->set_cover( cover );