diff options
author | jb <jb@FreeBSD.org> | 1998-06-06 07:20:23 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-06-06 07:20:23 +0000 |
commit | 0e04174c22864c80cfad6e467beaeef0503b40ca (patch) | |
tree | bd873c814b84e1d34912cf2e9b56bdc590cc6396 /lib/libc_r | |
parent | 065357c971e10dfeaca9f8c1a0cf0dc0917598dd (diff) | |
download | FreeBSD-src-0e04174c22864c80cfad6e467beaeef0503b40ca.zip FreeBSD-src-0e04174c22864c80cfad6e467beaeef0503b40ca.tar.gz |
Re-design the thread specific key structure.
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/pthread_private.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h index 5f0f3a8..f1a5710 100644 --- a/lib/libc_r/uthread/pthread_private.h +++ b/lib/libc_r/uthread/pthread_private.h @@ -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) (); }; |