| 
    libMesh
    
   | 
 
Defines atomic operations which can only be executed on a single thread at a time. More...
#include <threads_none.h>
Public Member Functions | |
| atomic () | |
| operator T& () | |
| atomic () | |
| operator T () | |
| T | operator= (T value) | 
| atomic< T > & | operator= (const atomic< T > &value) | 
| T | operator+= (T value) | 
| T | operator-= (T value) | 
| T | operator++ () | 
| T | operator++ (int) | 
| T | operator-- () | 
| T | operator-- (int) | 
Private Attributes | |
| T | _val | 
| T | val | 
| spin_mutex | smutex | 
Defines atomic operations which can only be executed on a single thread at a time.
This is used in reference counting, for example, to allow count++/count– to work.
Definition at line 172 of file threads_none.h.
      
  | 
  inline | 
Definition at line 175 of file threads_none.h.
      
  | 
  inline | 
Definition at line 492 of file threads_pthread.h.
      
  | 
  inline | 
Definition at line 493 of file threads_pthread.h.
      
  | 
  inline | 
Definition at line 176 of file threads_none.h.
      
  | 
  inline | 
Definition at line 524 of file threads_pthread.h.
      
  | 
  inline | 
Definition at line 531 of file threads_pthread.h.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 538 of file threads_pthread.h.
      
  | 
  inline | 
Definition at line 545 of file threads_pthread.h.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 502 of file threads_pthread.h.
      
  | 
  inline | 
      
  | 
  private | 
Definition at line 178 of file threads_none.h.
Referenced by libMesh::Threads::atomic< unsigned int >::operator unsigned int &().
      
  | 
  private | 
Definition at line 554 of file threads_pthread.h.
Referenced by libMesh::Threads::atomic< unsigned int >::operator++(), libMesh::Threads::atomic< unsigned int >::operator+=(), libMesh::Threads::atomic< unsigned int >::operator--(), libMesh::Threads::atomic< unsigned int >::operator-=(), and libMesh::Threads::atomic< unsigned int >::operator=().
      
  | 
  private | 
Definition at line 553 of file threads_pthread.h.
Referenced by libMesh::Threads::atomic< unsigned int >::operator unsigned int(), libMesh::Threads::atomic< unsigned int >::operator++(), libMesh::Threads::atomic< unsigned int >::operator+=(), libMesh::Threads::atomic< unsigned int >::operator--(), libMesh::Threads::atomic< unsigned int >::operator-=(), and libMesh::Threads::atomic< unsigned int >::operator=().
 1.8.16