v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8-debugger-barrier.h
Go to the documentation of this file.
1// Copyright 2022 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_INSPECTOR_V8_DEBUGGER_BARRIER_H_
6#define V8_INSPECTOR_V8_DEBUGGER_BARRIER_H_
7
8namespace v8_inspector {
9
10class V8InspectorClient;
11
12// This class is used to synchronize multiple sessions issuing
13// `Runtime.runIfWaitingForDebbuger` so that the global client
14// `runIfWaitingForDebugger` method is only invoked when all
15// sessions have invoked `Runtime.runIfWaitingForDebugger`.
17 public:
18 V8DebuggerBarrier(V8InspectorClient* client, int contextGroupId);
20
21 private:
24};
25
26} // namespace v8_inspector
27
28#endif // V8_INSPECTOR_V8_DEBUGGER_BARRIER_H_
V8InspectorClient *const m_client
V8DebuggerBarrier(V8InspectorClient *client, int contextGroupId)