ReactOS 0.4.16-dev-311-g9382aa2
_threads.h File Reference
#include <stl/_cstddef.h>
#include <stl/_cstdlib.h>
#include <stl/_threads.c>
Include dependency graph for _threads.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _STLP_mutex_base
 
class  _STLP_mutex
 
struct  _STLP_auto_lock
 
class  _Refcount_Base
 
class  _Atomic_swap_struct< __use_ptr_atomic_swap >
 
class  _Atomic_swap_struct< 0 >
 

Macros

#define _STLP_ATOMIC_INCREMENT(__x)   ++(*__x)
 
#define _STLP_ATOMIC_DECREMENT(__x)   --(*__x)
 
#define _STLP_MUTEX_INITIALIZER
 

Typedefs

typedef size_t __stl_atomic_t
 

Functions

__stl_atomic_t _STLP_CALL _Atomic_swap (_STLP_VOLATILE __stl_atomic_t *__p, __stl_atomic_t __q)
 
void *_STLP_CALL _Atomic_swap_ptr (void *_STLP_VOLATILE *__p, void *__q)
 

Macro Definition Documentation

◆ _STLP_ATOMIC_DECREMENT

#define _STLP_ATOMIC_DECREMENT (   __x)    --(*__x)

Definition at line 228 of file _threads.h.

◆ _STLP_ATOMIC_INCREMENT

#define _STLP_ATOMIC_INCREMENT (   __x)    ++(*__x)

Definition at line 227 of file _threads.h.

◆ _STLP_MUTEX_INITIALIZER

#define _STLP_MUTEX_INITIALIZER

Definition at line 241 of file _threads.h.

Typedef Documentation

◆ __stl_atomic_t

Definition at line 232 of file _threads.h.

Function Documentation

◆ _Atomic_swap()

__stl_atomic_t _STLP_CALL _Atomic_swap ( _STLP_VOLATILE __stl_atomic_t __p,
__stl_atomic_t  __q 
)
inline

Definition at line 623 of file _threads.h.

623 {
624 const int __use_ptr_atomic_swap = sizeof(__stl_atomic_t) == sizeof(void*);
626}
size_t __stl_atomic_t
Definition: _threads.h:232
static __stl_atomic_t _S_swap(_STLP_VOLATILE __stl_atomic_t *__p, __stl_atomic_t __q)
Definition: _threads.h:507

◆ _Atomic_swap_ptr()

void *_STLP_CALL _Atomic_swap_ptr ( void *_STLP_VOLATILE __p,
void __q 
)
inline

Definition at line 628 of file _threads.h.

628 {
629 const int __use_ptr_atomic_swap = sizeof(__stl_atomic_t) == sizeof(void*);
631}
static void * _S_swap_ptr(void *_STLP_VOLATILE *__p, void *__q)
Definition: _threads.h:528

Referenced by rope< _CharT, _Alloc >::c_str().