Back to index

glibc  2.9
Classes | Defines
internaltypes.h File Reference
#include <stdint.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pthread_attr
struct  pthread_mutexattr
struct  pthread_condattr
struct  pthread_rwlockattr
struct  pthread_barrier
struct  pthread_barrierattr
struct  pthread_key_struct
struct  new_sem
struct  old_sem
struct  pthread_cond_2_0_t

Defines

#define ATTR_FLAG_DETACHSTATE   0x0001
#define ATTR_FLAG_NOTINHERITSCHED   0x0002
#define ATTR_FLAG_SCOPEPROCESS   0x0004
#define ATTR_FLAG_STACKADDR   0x0008
#define ATTR_FLAG_OLDATTR   0x0010
#define ATTR_FLAG_SCHED_SET   0x0020
#define ATTR_FLAG_POLICY_SET   0x0040
#define COND_CLOCK_BITS   1
#define COND_NWAITERS_SHIFT   1
#define KEY_UNUSED(p)   (((p) & 1) == 0)
#define KEY_USABLE(p)   (((uintptr_t) (p)) < ((uintptr_t) ((p) + 2)))
#define RWLOCK_RECURSIVE(rwlock)   ((rwlock)->__data.__flags != 0)

Class Documentation

struct pthread_attr

Definition at line 26 of file internaltypes.h.

Class Members
cpu_set_t * cpuset
size_t cpusetsize
int flags
size_t guardsize
int schedpolicy
void * stackaddr
size_t stacksize
struct pthread_mutexattr

Definition at line 53 of file internaltypes.h.

Class Members
int mutexkind
struct pthread_condattr

Definition at line 66 of file internaltypes.h.

Class Members
int value
struct pthread_rwlockattr

Definition at line 87 of file internaltypes.h.

Class Members
int lockkind
int pshared
struct pthread_barrier

Definition at line 95 of file internaltypes.h.

Class Members
unsigned int curr_event
unsigned int init_count
unsigned int left
int lock
int private
struct pthread_barrierattr

Definition at line 106 of file internaltypes.h.

Class Members
int pshared
struct new_sem

Definition at line 143 of file internaltypes.h.

Class Members
unsigned long int nwaiters
int private
unsigned int value
struct old_sem

Definition at line 150 of file internaltypes.h.

Class Members
unsigned int value
struct pthread_cond_2_0_t

Definition at line 157 of file internaltypes.h.

Collaboration diagram for pthread_cond_2_0_t:
Class Members
pthread_cond_t * cond

Define Documentation

#define ATTR_FLAG_DETACHSTATE   0x0001

Definition at line 43 of file internaltypes.h.

#define ATTR_FLAG_NOTINHERITSCHED   0x0002

Definition at line 44 of file internaltypes.h.

#define ATTR_FLAG_OLDATTR   0x0010

Definition at line 47 of file internaltypes.h.

#define ATTR_FLAG_POLICY_SET   0x0040

Definition at line 49 of file internaltypes.h.

#define ATTR_FLAG_SCHED_SET   0x0020

Definition at line 48 of file internaltypes.h.

#define ATTR_FLAG_SCOPEPROCESS   0x0004

Definition at line 45 of file internaltypes.h.

#define ATTR_FLAG_STACKADDR   0x0008

Definition at line 46 of file internaltypes.h.

#define COND_CLOCK_BITS   1

Definition at line 82 of file internaltypes.h.

#define COND_NWAITERS_SHIFT   1

Definition at line 83 of file internaltypes.h.

#define KEY_UNUSED (   p)    (((p) & 1) == 0)

Definition at line 126 of file internaltypes.h.

#define KEY_USABLE (   p)    (((uintptr_t) (p)) < ((uintptr_t) ((p) + 2)))

Definition at line 134 of file internaltypes.h.

#define RWLOCK_RECURSIVE (   rwlock)    ((rwlock)->__data.__flags != 0)

Definition at line 139 of file internaltypes.h.