[PATCH] D27240: [libFuzzer] Diff 8 - Improve synchronization.
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 18:57:34 PST 2016
kcc added a comment.
OMG.
Some of this error handling used to be in a separate thread and I pushed it into the same thread to avoid synchronization problems.
This deserves more discussion, I am not convinced yet.
================
Comment at: lib/Fuzzer/FuzzerLoop.cpp:523
TPC.ResetMaps();
+ RunningCBMtx.lock();
+ RunningCB = true;
----------------
please use std::lock_guard
Repository:
rL LLVM
https://reviews.llvm.org/D27240
More information about the llvm-commits
mailing list