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

#include <lockers.h>

Inheritance diagram for dart::MonitorLeaveScope:
dart::ValueObject

Public Member Functions

 MonitorLeaveScope (MonitorLocker *monitor)
 
virtual ~MonitorLeaveScope ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 196 of file lockers.h.

Constructor & Destructor Documentation

◆ MonitorLeaveScope()

dart::MonitorLeaveScope::MonitorLeaveScope ( MonitorLocker monitor)
inlineexplicit

Definition at line 198 of file lockers.h.

199 : monitor_locker_(monitor) {
200 monitor_locker_->Exit();
201 }
void Exit() const
Definition: lockers.h:163

◆ ~MonitorLeaveScope()

virtual dart::MonitorLeaveScope::~MonitorLeaveScope ( )
inlinevirtual

Definition at line 203 of file lockers.h.

203{ monitor_locker_->Enter(); }
void Enter() const
Definition: lockers.h:155

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