Mercurial > hg > CbC > CbC_gcc
view libgomp/config/linux/omp-lock.h @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children | 04ced10e8804 |
line wrap: on
line source
/* This header is used during the build process to find the size and alignment of the public OpenMP locks, so that we can export data structures without polluting the namespace. When using the Linux futex primitive, non-recursive locks require only one int. Recursive locks require we identify the owning task and so require one int and a pointer. */ typedef int omp_lock_t; typedef struct { int lock, count; void *owner; } omp_nest_lock_t; typedef int omp_lock_25_t; typedef struct { int owner, count; } omp_nest_lock_25_t;