SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWQEBarrier Class Reference

#include <rw/rwtest/perf/RWQEBarrier.h>

Public Member Functions

 RWQEBarrier (uint64_t threads)
 
void wait ()
 

Detailed Description

Implementation of a synchronization barrier to have threads block execution until they have all reached the synchonization point.

Constructor & Destructor Documentation

RWQEBarrier::RWQEBarrier ( uint64_t  threads)
inline

Construct a new barrier that will block until threads have registered.

Member Function Documentation

void RWQEBarrier::wait ( void  )
inline

This function blocks execution until all threads have reached this point and the continuation condition is reached.

Copyright © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.