Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::ActiveIsolateScope Class Reference

#include <isolate.h>

Inheritance diagram for dart::ActiveIsolateScope:
dart::StackResource

Public Member Functions

 ActiveIsolateScope (Thread *thread)
 
 ActiveIsolateScope (Thread *thread, Isolate *isolate)
 
 ~ActiveIsolateScope ()
 
- Public Member Functions inherited from dart::StackResource
 StackResource (ThreadState *thread)
 
virtual ~StackResource ()
 
ThreadStatethread () const
 

Additional Inherited Members

- Static Public Member Functions inherited from dart::StackResource
static void Unwind (ThreadState *thread)
 
static void UnwindAbove (ThreadState *thread, StackResource *new_top)
 

Detailed Description

Definition at line 1797 of file isolate.h.

Constructor & Destructor Documentation

◆ ActiveIsolateScope() [1/2]

dart::ActiveIsolateScope::ActiveIsolateScope ( Thread thread)
inlineexplicit

Definition at line 1799 of file isolate.h.

1801 thread->no_active_isolate_scope_->saved_isolate_) {}
ActiveIsolateScope(Thread *thread)
Definition isolate.h:1799
ThreadState * thread() const
Definition allocation.h:33

◆ ActiveIsolateScope() [2/2]

dart::ActiveIsolateScope::ActiveIsolateScope ( Thread thread,
Isolate isolate 
)
inline

Definition at line 1803 of file isolate.h.

1804 : StackResource(thread), thread_(thread) {
1805 RELEASE_ASSERT(thread->isolate() == nullptr);
1806 thread_->isolate_ = isolate;
1807 }
#define RELEASE_ASSERT(cond)
Definition assert.h:327
StackResource(ThreadState *thread)
Definition allocation.h:25

◆ ~ActiveIsolateScope()

dart::ActiveIsolateScope::~ActiveIsolateScope ( )
inline

Definition at line 1808 of file isolate.h.

1808 {
1809 ASSERT(thread_->isolate_ != nullptr);
1810 thread_->isolate_ = nullptr;
1811 }
#define ASSERT(E)

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