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

#include <lockers.h>

Inheritance diagram for dart::SafepointWriteRwLocker:
dart::StackResource

Public Member Functions

 SafepointWriteRwLocker (ThreadState *thread_state, SafepointRwLock *rw_lock)
 
 ~SafepointWriteRwLocker ()
 
- 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 467 of file lockers.h.

Constructor & Destructor Documentation

◆ SafepointWriteRwLocker()

dart::SafepointWriteRwLocker::SafepointWriteRwLocker ( ThreadState thread_state,
SafepointRwLock rw_lock 
)
inline

Definition at line 469 of file lockers.h.

470 : StackResource(thread_state), rw_lock_(rw_lock) {
471 rw_lock_->EnterWrite();
472 }
StackResource(ThreadState *thread)
Definition: allocation.h:25

◆ ~SafepointWriteRwLocker()

dart::SafepointWriteRwLocker::~SafepointWriteRwLocker ( )
inline

Definition at line 474 of file lockers.h.

474{ rw_lock_->LeaveWrite(); }

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