Bullet Collision Detection & Physics Library: ThreadsafeCounter Struct Reference

Bullet Collision Detection & Physics Library

Public Member Functions | Public Attributes | List of all members
ThreadsafeCounter Struct Reference
Collaboration diagram for ThreadsafeCounter:
[legend]

## Public Member Functions
| ThreadsafeCounter ()
unsigned int | getNext ()

## Public Attributes
unsigned int | mCounter
btSpinMutex | mMutex

## Detailed Description

Definition at line 216 of file btThreads.cpp.

## Constructor & Destructor Documentation

## ◆ ThreadsafeCounter()

ThreadsafeCounter::ThreadsafeCounter | ( |  | ) |
| inline

Definition at line 221 of file btThreads.cpp.

## Member Function Documentation

## ◆ getNext()

unsigned int ThreadsafeCounter::getNext | ( |  | ) |
| inline

Definition at line 227 of file btThreads.cpp.

## Member Data Documentation

## ◆ mCounter

unsigned int ThreadsafeCounter::mCounter

Definition at line 218 of file btThreads.cpp.

## ◆ mMutex

btSpinMutex ThreadsafeCounter::mMutex

Definition at line 219 of file btThreads.cpp.

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

- btThreads.cpp