1290650Shselasky/* This header is used during the build process to find the size and 2290650Shselasky alignment of the public OpenMP locks, so that we can export data 3290650Shselasky structures without polluting the namespace. 4290650Shselasky 5290650Shselasky When using the Linux futex primitive, non-recursive locks require 6290650Shselasky one int. Recursive locks require we identify the owning task 7290650Shselasky and so require in addition one int and a pointer. */ 8290650Shselasky 9290650Shselaskytypedef int omp_lock_t; 10290650Shselaskytypedef struct { int lock, count; void *owner; } omp_nest_lock_t; 11290650Shselaskytypedef int omp_lock_25_t; 12290650Shselaskytypedef struct { int owner, count; } omp_nest_lock_25_t; 13290650Shselasky