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
8
namespace
v8_inspector
{
9
10
class
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`.
16
class
V8DebuggerBarrier
{
17
public
:
18
V8DebuggerBarrier
(
V8InspectorClient
* client,
int
contextGroupId);
19
~V8DebuggerBarrier
();
20
21
private
:
22
V8InspectorClient
*
const
m_client
;
23
int
m_contextGroupId
;
24
};
25
26
}
// namespace v8_inspector
27
28
#endif
// V8_INSPECTOR_V8_DEBUGGER_BARRIER_H_
v8_inspector::V8DebuggerBarrier
Definition
v8-debugger-barrier.h:16
v8_inspector::V8DebuggerBarrier::~V8DebuggerBarrier
~V8DebuggerBarrier()
Definition
v8-debugger-barrier.cc:15
v8_inspector::V8DebuggerBarrier::m_client
V8InspectorClient *const m_client
Definition
v8-debugger-barrier.h:22
v8_inspector::V8DebuggerBarrier::V8DebuggerBarrier
V8DebuggerBarrier(V8InspectorClient *client, int contextGroupId)
Definition
v8-debugger-barrier.cc:11
v8_inspector::V8DebuggerBarrier::m_contextGroupId
int m_contextGroupId
Definition
v8-debugger-barrier.h:23
v8_inspector::V8InspectorClient
Definition
v8-inspector.h:251
v8_inspector
Definition
debug-interface.h:25
src
inspector
v8-debugger-barrier.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0