mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
* libgomp.h (enum memmodel): New.
From-SVN: r181794
This commit is contained in:
committed by
Richard Henderson
parent
de4f64c73d
commit
cef86eb288
@@ -1,3 +1,7 @@
|
||||
2011-11-28 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* libgomp.h (enum memmodel): New.
|
||||
|
||||
2011-11-21 Andreas Tobler <andreast@fgznet.ch>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
@@ -45,6 +45,17 @@
|
||||
# pragma GCC visibility push(hidden)
|
||||
#endif
|
||||
|
||||
/* If we were a C++ library, we'd get this from <std/atomic>. */
|
||||
enum memmodel
|
||||
{
|
||||
MEMMODEL_RELAXED = 0,
|
||||
MEMMODEL_CONSUME = 1,
|
||||
MEMMODEL_ACQUIRE = 2,
|
||||
MEMMODEL_RELEASE = 3,
|
||||
MEMMODEL_ACQ_REL = 4,
|
||||
MEMMODEL_SEQ_CST = 5
|
||||
};
|
||||
|
||||
#include "sem.h"
|
||||
#include "mutex.h"
|
||||
#include "bar.h"
|
||||
|
||||
Reference in New Issue
Block a user