diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2002-03-19 22:58:56 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2002-03-19 22:58:56 +0000 |
| commit | 3003bdb5983ac249a54696112d841e1d6ed28d00 (patch) | |
| tree | 64a520af93e4e04f24e730bf2a51ce6ccb8ad724 /lib/libpthread/thread/thr_private.h | |
| parent | 63e99e978a98a91ba69f78077c8d158fbc0d55c7 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
| -rw-r--r-- | lib/libpthread/thread/thr_private.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index f49814b35167..ec15c3a02bcf 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -481,13 +481,6 @@ enum pthread_susp { } while (tv.tv_sec != _sched_tod.tv_sec) -struct pthread_key { - spinlock_t lock; - volatile int allocated; - volatile int count; - void (*destructor) (); -}; - struct pthread_rwlockattr { int pshared; }; @@ -631,6 +624,11 @@ struct pthread_signal_frame { siginfo_t siginfo; }; +struct pthread_specific_elem { + const void *data; + int seqno; +}; + /* * Thread structure. */ @@ -842,9 +840,9 @@ struct pthread { */ TAILQ_HEAD(, pthread_mutex) mutexq; - void *ret; - const void **specific_data; - int specific_data_count; + void *ret; + struct pthread_specific_elem *specific; + int specific_data_count; /* Cleanup handlers Link List */ struct pthread_cleanup *cleanup; |
