mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-14 17:57:39 +01:00
a84f174425
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29033 a95241bf-73f2-0310-859d-f6bbb57e9c96
11 lines
438 B
C
11 lines
438 B
C
/* 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 thread
|
|
and so require two ints. */
|
|
|
|
typedef int omp_lock_t;
|
|
typedef struct { int owner, count; } omp_nest_lock_t;
|