Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
Barrier Class Reference

Public Member Functions

 Barrier (int threadCount)
 
void waitForAll ()
 

Detailed Description

Definition at line 57 of file SkStrikeTest.cpp.

Constructor & Destructor Documentation

◆ Barrier()

Barrier::Barrier ( int  threadCount)
inline

Definition at line 59 of file SkStrikeTest.cpp.

59: fThreadCount(threadCount) { }

Member Function Documentation

◆ waitForAll()

void Barrier::waitForAll ( )
inline

Definition at line 60 of file SkStrikeTest.cpp.

60 {
61 fThreadCount -= 1;
62 while (fThreadCount > 0) { }
63 }

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