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 POSIX95 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; 11169695Skan 12169695Skantypedef struct 13169695Skan{ 14169695Skan pthread_mutex_t lock; 15169695Skan pthread_t owner; 16169695Skan int count; 17169695Skan} omp_nest_lock_t; 18