Re-design the thread specific key structure.

This commit is contained in:
John Birrell 1998-06-06 07:20:23 +00:00
parent f24f28e28c
commit c359f976b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36696
3 changed files with 6 additions and 9 deletions

View File

@ -217,9 +217,8 @@ struct pthread_attr {
#define TIMESLICE_USEC 100000
struct pthread_key {
pthread_mutex_t mutex;
long access_lock;
long count;
volatile long access_lock;
volatile int allocated;
void (*destructor) ();
};

View File

@ -217,9 +217,8 @@ struct pthread_attr {
#define TIMESLICE_USEC 100000
struct pthread_key {
pthread_mutex_t mutex;
long access_lock;
long count;
volatile long access_lock;
volatile int allocated;
void (*destructor) ();
};

View File

@ -217,9 +217,8 @@ struct pthread_attr {
#define TIMESLICE_USEC 100000
struct pthread_key {
pthread_mutex_t mutex;
long access_lock;
long count;
volatile long access_lock;
volatile int allocated;
void (*destructor) ();
};