v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::gdb_server::GdbServerThread Class Reference

#include <gdb-server-thread.h>

Inheritance diagram for v8::internal::wasm::gdb_server::GdbServerThread:
Collaboration diagram for v8::internal::wasm::gdb_server::GdbServerThread:

Public Member Functions

 GdbServerThread (GdbServer *gdb_server)
 
 GdbServerThread (const GdbServerThread &)=delete
 
GdbServerThreadoperator= (const GdbServerThread &)=delete
 
void Run () override
 
bool StartAndInitialize ()
 
void Stop ()
 
TargetGetTarget ()
 
- Public Member Functions inherited from v8::base::Thread
 Thread (const Options &options)
 
 Thread (const Thread &)=delete
 
Threadoperator= (const Thread &)=delete
 
virtual ~Thread ()
 
V8_WARN_UNUSED_RESULT bool Start ()
 
bool StartSynchronously ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 
Priority priority () const
 
void NotifyStartedAndRun ()
 

Private Member Functions

void CleanupThread ()
 

Private Attributes

GdbServergdb_server_
 
base::Semaphore start_semaphore_
 
base::Mutex mutex_
 
std::unique_ptr< TransportBasetransport_
 
std::unique_ptr< Targettarget_
 

Additional Inherited Members

- Public Types inherited from v8::base::Thread
enum class  Priority { kBestEffort , kUserVisible , kUserBlocking , kDefault }
 
using LocalStorageKey = int32_t
 
- Static Public Member Functions inherited from v8::base::Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 
- Static Public Attributes inherited from v8::base::Thread
static const int kMaxThreadNameLength = 16
 

Detailed Description

Definition at line 22 of file gdb-server-thread.h.

Constructor & Destructor Documentation

◆ GdbServerThread() [1/2]

v8::internal::wasm::gdb_server::GdbServerThread::GdbServerThread ( GdbServer * gdb_server)
explicit

Definition at line 16 of file gdb-server-thread.cc.

◆ GdbServerThread() [2/2]

v8::internal::wasm::gdb_server::GdbServerThread::GdbServerThread ( const GdbServerThread & )
delete

Member Function Documentation

◆ CleanupThread()

void v8::internal::wasm::gdb_server::GdbServerThread::CleanupThread ( )
private

Definition at line 40 of file gdb-server-thread.cc.

Here is the caller graph for this function:

◆ GetTarget()

Target & v8::internal::wasm::gdb_server::GdbServerThread::GetTarget ( )
inline

Definition at line 39 of file gdb-server-thread.h.

◆ operator=()

GdbServerThread & v8::internal::wasm::gdb_server::GdbServerThread::operator= ( const GdbServerThread & )
delete

◆ Run()

void v8::internal::wasm::gdb_server::GdbServerThread::Run ( )
overridevirtual

Implements v8::base::Thread.

Definition at line 52 of file gdb-server-thread.cc.

Here is the call graph for this function:

◆ StartAndInitialize()

bool v8::internal::wasm::gdb_server::GdbServerThread::StartAndInitialize ( )

Definition at line 21 of file gdb-server-thread.cc.

Here is the call graph for this function:

◆ Stop()

void v8::internal::wasm::gdb_server::GdbServerThread::Stop ( )

Definition at line 100 of file gdb-server-thread.cc.

Member Data Documentation

◆ gdb_server_

GdbServer* v8::internal::wasm::gdb_server::GdbServerThread::gdb_server_
private

Definition at line 44 of file gdb-server-thread.h.

◆ mutex_

base::Mutex v8::internal::wasm::gdb_server::GdbServerThread::mutex_
private

Definition at line 52 of file gdb-server-thread.h.

◆ start_semaphore_

base::Semaphore v8::internal::wasm::gdb_server::GdbServerThread::start_semaphore_
private

Definition at line 50 of file gdb-server-thread.h.

◆ target_

std::unique_ptr<Target> v8::internal::wasm::gdb_server::GdbServerThread::target_
private

Definition at line 55 of file gdb-server-thread.h.

◆ transport_

std::unique_ptr<TransportBase> v8::internal::wasm::gdb_server::GdbServerThread::transport_
private

Definition at line 54 of file gdb-server-thread.h.


The documentation for this class was generated from the following files: