about summary refs log tree commit diff
path: root/sysdeps/sparc/nptl/pthread-offsets.h
blob: ac50a5a7a649311b0a6f395583fb120b68d509ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <bits/wordsize.h>

#if __WORDSIZE == 64
# define __PTHREAD_MUTEX_KIND_OFFSET		16
#else
# define __PTHREAD_MUTEX_KIND_OFFSET		12
#endif

#if __WORDSIZE == 64
# define __PTHREAD_RWLOCK_FLAGS_OFFSET		48
#else
# define __PTHREAD_RWLOCK_FLAGS_OFFSET		27
#endif