]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gcclibs/libgomp/config/linux/omp-lock.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gcclibs / libgomp / config / linux / omp-lock.h
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
5    When using the Linux futex primitive, non-recursive locks require
6    only one int.  Recursive locks require we identify the owning thread
7    and so require two ints.  */
8
9 typedef int omp_lock_t;
10 typedef struct { int owner, count; } omp_nest_lock_t;