Dead
[official-gcc.git] / gomp-20050608-branch / libgomp / config / posix / omp-lock.h
blobed70618d87ded7f3960d49e6153c3eb8284ea7da
1 /* This header is used during the build process to find the size and
2 alignment of the public OpenMP locks, so that we can export data
3 structures without polluting the namespace.
5 In this default POSIX implementation, we map the two locks to the
6 same PTHREADS primitive. */
8 #include <pthread.h>
10 typedef pthread_mutex_t omp_lock_t;
11 typedef struct { pthread_mutex_t lock; int count; } omp_nest_lock_t;