Classes | Namespaces | Macros
BeThread.h File Reference

Together with the BeCriticalSection.h file provides Bentley specific thread handling functions (Bentley/BeThread.h). More...

#include "BeCriticalSection.h"
#include "BeAtomic.h"
#include <mutex>
#include <condition_variable>

Go to the source code of this file.

Classes

struct  BeMutex
 A synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. More...
 
struct  BeMutexHolder
 A BeMutex ownership wrapper. More...
 
struct  IConditionVariablePredicate
 Provides implementation of predicate for a BeConditionVariable. More...
 
struct  BeConditionVariable
 A synchronization primitive that can be used to block a thread, or multiple threads at the same time, until: 1) a notification is received from another thread, 2) a timeout expires, or 3) a spurious wakeup occurs. More...
 
struct  BeThreadUtilities
 Utilities for dealing with threads ! More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 

Macros

#define BEMUTEX_DATA_ARRAY_LENGTH   sizeof(std::recursive_mutex) / sizeof(void*)
 
#define BECONDITIONVARIABLE_DATA_ARRAY_LENGTH   sizeof(std::condition_variable_any) / sizeof(void*)
 

Detailed Description

Together with the BeCriticalSection.h file provides Bentley specific thread handling functions (Bentley/BeThread.h).

Macro Definition Documentation

#define BECONDITIONVARIABLE_DATA_ARRAY_LENGTH   sizeof(std::condition_variable_any) / sizeof(void*)
#define BEMUTEX_DATA_ARRAY_LENGTH   sizeof(std::recursive_mutex) / sizeof(void*)

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.