Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 1614 of file thread.h.

Constructor & Destructor Documentation

◆ StoppedMutatorsScope()

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

Definition at line 1616 of file thread.h.

1617#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1618 thread->stopped_mutators_scope_depth_++;
1619 ASSERT(thread->stopped_mutators_scope_depth_ >= 0);
1620#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1621 }
#define ASSERT(E)

◆ ~StoppedMutatorsScope()

dart::StoppedMutatorsScope::~StoppedMutatorsScope ( )
inline

Definition at line 1623 of file thread.h.

1623 {
1624#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1625 thread()->stopped_mutators_scope_depth_ -= 1;
1626 ASSERT(thread()->stopped_mutators_scope_depth_ >= 0);
1627#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
1628 }

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