[PATCH] D38244: [scudo] Scudo thread specific data refactor, part 3
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 14:53:00 PDT 2017
cryptoad added a comment.
Unsubmitted inline response.
================
Comment at: lib/scudo/scudo_tsd.h:58
private:
bool UnlockRequired;
StaticSpinMutex Mutex;
----------------
alekseyshl wrote:
> const bool UnlockRequired;
I am not using a constructor but an `init()` function.
So `const` can't be used as `UnlockRequired` gets assigned.
https://reviews.llvm.org/D38244
More information about the llvm-commits
mailing list