OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0552d51
)
[lib/Fuzzer] detach the pulse thread instad of joining it
author
Kostya Serebryany
<kcc@google.com>
Tue, 12 May 2015 01:43:20 +0000
(
01:43
+0000)
committer
Kostya Serebryany
<kcc@google.com>
Tue, 12 May 2015 01:43:20 +0000
(
01:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237082
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Fuzzer/FuzzerDriver.cpp
patch
|
blob
|
history
diff --git
a/lib/Fuzzer/FuzzerDriver.cpp
b/lib/Fuzzer/FuzzerDriver.cpp
index
724714e
..
93a667a
100644
(file)
--- a/
lib/Fuzzer/FuzzerDriver.cpp
+++ b/
lib/Fuzzer/FuzzerDriver.cpp
@@
-165,11
+165,11
@@
static int RunInMultipleProcesses(int argc, char **argv, int NumWorkers,
}
std::vector<std::thread> V;
std::thread Pulse(PulseThread);
+ Pulse.detach();
for (int i = 0; i < NumWorkers; i++)
V.push_back(std::thread(WorkerThread, Cmd, &Counter, NumJobs, &HasErrors));
for (auto &T : V)
T.join();
- Pulse.join();
return HasErrors ? 1 : 0;
}