Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Static Public Attributes | List of all members
dart::bin::Monitor Class Reference

#include <thread.h>

Public Types

enum  WaitResult { kNotified , kTimedOut }
 

Public Member Functions

 Monitor ()
 
 ~Monitor ()
 
void Enter ()
 
void Exit ()
 
WaitResult Wait (int64_t millis)
 
WaitResult WaitMicros (int64_t micros)
 
void Notify ()
 
void NotifyAll ()
 

Static Public Attributes

static constexpr int64_t kNoTimeout = 0
 

Detailed Description

Definition at line 75 of file thread.h.

Member Enumeration Documentation

◆ WaitResult

Enumerator
kNotified 
kTimedOut 

Definition at line 77 of file thread.h.

Constructor & Destructor Documentation

◆ Monitor()

dart::bin::Monitor::Monitor ( )

◆ ~Monitor()

dart::bin::Monitor::~Monitor ( )

Member Function Documentation

◆ Enter()

void dart::bin::Monitor::Enter ( )

◆ Exit()

void dart::bin::Monitor::Exit ( )

◆ Notify()

void dart::bin::Monitor::Notify ( )

◆ NotifyAll()

void dart::bin::Monitor::NotifyAll ( )

◆ Wait()

WaitResult dart::bin::Monitor::Wait ( int64_t  millis)

◆ WaitMicros()

WaitResult dart::bin::Monitor::WaitMicros ( int64_t  micros)

Member Data Documentation

◆ kNoTimeout

constexpr int64_t dart::bin::Monitor::kNoTimeout = 0
staticconstexpr

Definition at line 79 of file thread.h.


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