/home/ntakagi/work/STLport-5.1.5/stlport/stl/_threads.h File Reference

#include <stl/_cstddef.h>
#include <stl/_cstdlib.h>
#include <stl/_threads.c>

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 >

Defines

#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)


Define Documentation

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

Definition at line 245 of file _threads.h.

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

Definition at line 244 of file _threads.h.

#define _STLP_MUTEX_INITIALIZER

Definition at line 257 of file _threads.h.

Referenced by ios_base::xalloc().


Typedef Documentation

typedef size_t __stl_atomic_t

Definition at line 68 of file _threads.h.


Function Documentation

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

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



Generated on Mon Mar 10 15:32:50 2008 by  doxygen 1.5.1