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   When using the Linux futex primitive, non-recursive locks require
6169695Skan   only one int.  Recursive locks require we identify the owning thread
7169695Skan   and so require two ints.  */
8169695Skan
9169695Skantypedef int omp_lock_t;
10169695Skantypedef struct { int owner, count; } omp_nest_lock_t;
11