Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::StoppedMutatorsScope Class Reference

#include <thread.h>

Inheritance diagram for dart::StoppedMutatorsScope:
dart::ThreadStackResource dart::StackResource

Public Member Functions

 StoppedMutatorsScope (Thread *thread)
 
 ~StoppedMutatorsScope ()
 
- Public Member Functions inherited from dart::ThreadStackResource
 ThreadStackResource (Thread *T)
 
 ~ThreadStackResource ()
 
Threadthread () const
 
Isolateisolate () const
 
IsolateGroupisolate_group () const
 
- 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 1636 of file thread.h.

Constructor & Destructor Documentation

◆ StoppedMutatorsScope()

dart::StoppedMutatorsScope::StoppedMutatorsScope ( Thread thread)
inlineexplicit

Definition at line 1638 of file thread.h.

1639#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1640 thread->stopped_mutators_scope_depth_++;
1641 ASSERT(thread->stopped_mutators_scope_depth_ >= 0);
1642#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1643 }
#define ASSERT(E)

◆ ~StoppedMutatorsScope()

dart::StoppedMutatorsScope::~StoppedMutatorsScope ( )
inline

Definition at line 1645 of file thread.h.

1645 {
1646#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1647 thread()->stopped_mutators_scope_depth_ -= 1;
1648 ASSERT(thread()->stopped_mutators_scope_depth_ >= 0);
1649#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1650 }

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