diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-14 00:52:27 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-14 16:34:58 +0100 |
commit | 5d1b6d3e0fa4b97a490ef964be48aed9872e3ec1 (patch) | |
tree | ab5f510c4d83b175681de629395525bf7ec7cedb /deps/v8/src/cpu-profiler.h | |
parent | 3b3d89bad26f5dfebe73fef6ae284ee78acbd5c9 (diff) | |
download | node-new-5d1b6d3e0fa4b97a490ef964be48aed9872e3ec1.tar.gz |
deps: upgrade v8 to 3.30.37
Diffstat (limited to 'deps/v8/src/cpu-profiler.h')
-rw-r--r-- | deps/v8/src/cpu-profiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/cpu-profiler.h b/deps/v8/src/cpu-profiler.h index c1e75a101a..4dc5643aa1 100644 --- a/deps/v8/src/cpu-profiler.h +++ b/deps/v8/src/cpu-profiler.h @@ -132,7 +132,7 @@ class ProfilerEventsProcessor : public base::Thread { // Thread control. virtual void Run(); void StopSynchronously(); - INLINE(bool running()) { return running_; } + INLINE(bool running()) { return !!base::NoBarrier_Load(&running_); } void Enqueue(const CodeEventsContainer& event); // Puts current stack into tick sample events buffer. @@ -163,7 +163,7 @@ class ProfilerEventsProcessor : public base::Thread { ProfileGenerator* generator_; Sampler* sampler_; - bool running_; + base::Atomic32 running_; // Sampling period in microseconds. const base::TimeDelta period_; UnboundQueue<CodeEventsContainer> events_buffer_; |