mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Re-design the thread specific key structure.
This commit is contained in:
parent
f24f28e28c
commit
c359f976b4
3 changed files with 6 additions and 9 deletions
|
|
@ -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 a new issue