mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 10:54:56 +03:00
temporary
This commit is contained in:
parent
4b1f2ae8f9
commit
6a72729dec
2
main.cc
2
main.cc
@ -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
3
mold.h
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user