1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 10:54:56 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-26 19:51:06 +09:00
parent 4b1f2ae8f9
commit 6a72729dec
2 changed files with 3 additions and 2 deletions

View File

@ -339,7 +339,7 @@ private:
};
int main(int argc, char **argv) {
// tbb::task_scheduler_init init(1);
tbb::global_control tbb_cont(tbb::global_control::max_allowed_parallelism, 64);
tbb::task_group tg;
// Parse command line options

3
mold.h
View File

@ -16,12 +16,13 @@
#include "tbb/concurrent_hash_map.h"
#include "tbb/concurrent_unordered_set.h"
#include "tbb/concurrent_vector.h"
#include "tbb/global_control.h"
#include "tbb/parallel_for_each.h"
#include "tbb/parallel_reduce.h"
#include "tbb/parallel_sort.h"
#include "tbb/partitioner.h"
#include "tbb/task_arena.h"
#include "tbb/task_group.h"
// #include "tbb/task_scheduler_init.h"
#include <algorithm>
#include <atomic>