glibc之pthread_mutex_t/pthread_cond_t实现原理(十七)
1.pthread_mutex_t实现glibc/sysdeps/nptl/bits/pthreadtypes.htypedef union{ struct __pthread_mutex_s __data; char __size[__SIZEOF_PTHREAD_MUTEX_T]; long int __align;} pthread_mutex_t;<2>.glibc/sysdeps/nptl/bits/thread-shared-types.hstruc