OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [libgomp/] [config/] [posix/] [omp-lock.h] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* 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
   In this default POSIX implementation, we map the two locks to the
6
   same PTHREADS primitive.  */
7
 
8
#include <pthread.h>
9
 
10
typedef pthread_mutex_t omp_lock_t;
11
typedef struct { pthread_mutex_t lock; int count; } omp_nest_lock_t;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.