diff options
Diffstat (limited to 'sysdeps/sparc/nptl/internaltypes.h')
-rw-r--r-- | sysdeps/sparc/nptl/internaltypes.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sysdeps/sparc/nptl/internaltypes.h b/sysdeps/sparc/nptl/internaltypes.h new file mode 100644 index 0000000000..e5c27408d8 --- /dev/null +++ b/sysdeps/sparc/nptl/internaltypes.h @@ -0,0 +1,35 @@ +#ifndef _INTERNALTYPES_H + +#include_next <internaltypes.h> + +union sparc_pthread_barrier +{ + struct pthread_barrier b; + struct sparc_pthread_barrier_s + { + unsigned int curr_event; + int lock; + unsigned int left; + unsigned int init_count; + unsigned char left_lock; + unsigned char pshared; + } s; +}; + +struct sparc_new_sem +{ + unsigned int value; + unsigned char lock; + unsigned char private; + unsigned char pad[2]; + unsigned long int nwaiters; +}; + +struct sparc_old_sem +{ + unsigned int value; + unsigned char lock; + unsigned char private; +}; + +#endif |