1169695Skan/* This header is used during the build process to find the size and
2169695Skan   alignment of the public OpenMP locks, so that we can export data
3169695Skan   structures without polluting the namespace.
4169695Skan
5169695Skan   In this default POSIX implementation, we map the two locks to the
6169695Skan   same PTHREADS primitive.  */
7169695Skan
8169695Skan#include <pthread.h>
9169695Skan
10169695Skantypedef pthread_mutex_t omp_lock_t;
11169695Skantypedef struct { pthread_mutex_t lock; int count; } omp_nest_lock_t;
12