V8 Project
v8::base::Thread::Options Class Reference

#include <platform.h>

+ Collaboration diagram for v8::base::Thread::Options:

Public Member Functions

 Options ()
 
 Options (const char *name, int stack_size=0)
 
const char * name () const
 
int stack_size () const
 

Private Attributes

const char * name_
 
int stack_size_
 

Detailed Description

Definition at line 418 of file platform.h.

Constructor & Destructor Documentation

◆ Options() [1/2]

v8::base::Thread::Options::Options ( )
inline

Definition at line 420 of file platform.h.

420 : name_("v8:<unknown>"), stack_size_(0) {}

◆ Options() [2/2]

v8::base::Thread::Options::Options ( const char *  name,
int  stack_size = 0 
)
inlineexplicit

Definition at line 421 of file platform.h.

int stack_size() const
Definition: platform.h:425
const char * name() const
Definition: platform.h:424

Member Function Documentation

◆ name()

const char* v8::base::Thread::Options::name ( ) const
inline

Definition at line 424 of file platform.h.

424 { return name_; }

References name_.

Referenced by v8::base::Thread::Thread().

+ Here is the caller graph for this function:

◆ stack_size()

int v8::base::Thread::Options::stack_size ( ) const
inline

Definition at line 425 of file platform.h.

425 { return stack_size_; }

References stack_size_.

Member Data Documentation

◆ name_

const char* v8::base::Thread::Options::name_
private

Definition at line 428 of file platform.h.

Referenced by name().

◆ stack_size_

int v8::base::Thread::Options::stack_size_
private

Definition at line 429 of file platform.h.

Referenced by stack_size().


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