omp-lock.h 552 B

12345678910111213
  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.
  4. When using the Linux futex primitive, non-recursive locks require
  5. one int. Recursive locks require we identify the owning task
  6. and so require in addition one int and a pointer. */
  7. typedef int omp_lock_t;
  8. typedef struct { int lock, count; void *owner; } omp_nest_lock_t;
  9. typedef int omp_lock_25_t;
  10. typedef struct { int owner, count; } omp_nest_lock_25_t;