Mercurial > hg > CbC > CbC_gcc
annotate libgomp/config/linux/omp-lock.h @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
0 | 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 | |
111 | 6 one int. Recursive locks require we identify the owning task |
7 and so require in addition one int and a pointer. */ | |
0 | 8 |
9 typedef int omp_lock_t; | |
10 typedef struct { int lock, count; void *owner; } omp_nest_lock_t; | |
11 typedef int omp_lock_25_t; | |
12 typedef struct { int owner, count; } omp_nest_lock_25_t; |