* libgomp.h (enum memmodel): New.

From-SVN: r181794
This commit is contained in:
Richard Henderson 2011-11-28 18:19:05 -08:00 committed by Richard Henderson
parent de4f64c73d
commit cef86eb288
2 changed files with 15 additions and 0 deletions

View File

@ -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.

View File

@ -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"