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

#include <lockers.h>

Public Member Functions

 SafepointRwLock ()
 
 ~SafepointRwLock ()
 
 DEBUG_ONLY (bool IsCurrentThreadReader())
 
bool IsCurrentThreadWriter ()
 

Friends

class SafepointReadRwLocker
 
class SafepointWriteRwLocker
 

Detailed Description

Definition at line 347 of file lockers.h.

Constructor & Destructor Documentation

◆ SafepointRwLock()

dart::SafepointRwLock::SafepointRwLock ( )
inline

Definition at line 349 of file lockers.h.

349{}

◆ ~SafepointRwLock()

dart::SafepointRwLock::~SafepointRwLock ( )
inline

Definition at line 350 of file lockers.h.

350{}

Member Function Documentation

◆ DEBUG_ONLY()

dart::SafepointRwLock::DEBUG_ONLY ( bool   IsCurrentThreadReader())

◆ IsCurrentThreadWriter()

bool dart::SafepointRwLock::IsCurrentThreadWriter ( )
inline

Definition at line 354 of file lockers.h.

354 {
355 return writer_id_ == OSThread::GetCurrentThreadId();
356 }
static ThreadId GetCurrentThreadId()

Friends And Related Function Documentation

◆ SafepointReadRwLocker

friend class SafepointReadRwLocker
friend

Definition at line 359 of file lockers.h.

◆ SafepointWriteRwLocker

friend class SafepointWriteRwLocker
friend

Definition at line 360 of file lockers.h.


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