Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! src: refactor thread stopping mechanism
  • Loading branch information
addaleax committed Mar 19, 2019
commit 3120670875c6cfc191724edad00e7d89525ef2c3
4 changes: 2 additions & 2 deletions src/env-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -980,11 +980,11 @@ void Environment::ForEachBaseObject(T&& iterator) {
}

bool AsyncRequest::is_stopped() const {
return stopped_.load(std::memory_order_relaxed);
return stopped_.load();
}

void AsyncRequest::set_stopped(bool flag) {
stopped_.store(flag, std::memory_order_relaxed);
stopped_.store(flag);
}

#define VP(PropertyName, StringValue) V(v8::Private, PropertyName)
Expand Down