Re-design the thread specific key structure.
This commit is contained in:
parent
f24f28e28c
commit
c359f976b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36696
@ -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) ();
|
||||
};
|
||||
|
||||
|
@ -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) ();
|
||||
};
|
||||
|
||||
|
@ -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) ();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user