version 1.86, 2012/08/16 04:49:47 |
version 1.86.2.2, 2013/02/25 00:27:59 |
|
|
#include "../../common/lib/libc/atomic/atomic_op_namespace.h" |
#include "../../common/lib/libc/atomic/atomic_op_namespace.h" |
|
|
#include <sys/atomic.h> |
#include <sys/atomic.h> |
#include <sys/tree.h> |
#include <sys/rbtree.h> |
|
|
#include <limits.h> |
#include <limits.h> |
#include <lwp.h> |
#include <lwp.h> |
Line 126 struct __pthread_st { |
|
Line 126 struct __pthread_st { |
|
|
|
/* LWP ID and entry on the list of all threads. */ |
/* LWP ID and entry on the list of all threads. */ |
lwpid_t pt_lid; |
lwpid_t pt_lid; |
RB_ENTRY(__pthread_st) pt_alltree; |
rb_node_t pt_alltree; |
PTQ_ENTRY(__pthread_st) pt_allq; |
PTQ_ENTRY(__pthread_st) pt_allq; |
PTQ_ENTRY(__pthread_st) pt_deadq; |
PTQ_ENTRY(__pthread_st) pt_deadq; |
|
|
Line 148 struct __pthread_st { |
|
Line 148 struct __pthread_st { |
|
|
|
/* Thread-specific data. Large so it sits close to the end. */ |
/* Thread-specific data. Large so it sits close to the end. */ |
int pt_havespecific; |
int pt_havespecific; |
void *pt_specific[PTHREAD_KEYS_MAX]; |
struct pt_specific { |
|
void *pts_value; |
|
PTQ_ENTRY(pt_specific) pts_next; |
|
} pt_specific[PTHREAD_KEYS_MAX]; |
|
|
/* |
/* |
* Context for thread creation. At the end as it's cached |
* Context for thread creation. At the end as it's cached |
Line 295 char *pthread__getenv(const char *) PTHR |
|
Line 298 char *pthread__getenv(const char *) PTHR |
|
__dead void pthread__cancelled(void) PTHREAD_HIDE; |
__dead void pthread__cancelled(void) PTHREAD_HIDE; |
void pthread__mutex_deferwake(pthread_t, pthread_mutex_t *) PTHREAD_HIDE; |
void pthread__mutex_deferwake(pthread_t, pthread_mutex_t *) PTHREAD_HIDE; |
int pthread__checkpri(int) PTHREAD_HIDE; |
int pthread__checkpri(int) PTHREAD_HIDE; |
|
int pthread__add_specific(pthread_t, pthread_key_t, const void *) PTHREAD_HIDE; |
|
|
#ifndef pthread__smt_pause |
#ifndef pthread__smt_pause |
#define pthread__smt_pause() /* nothing */ |
#define pthread__smt_pause() /* nothing */ |