Commit cef86eb2 by Richard Henderson Committed by Richard Henderson

* libgomp.h (enum memmodel): New.

From-SVN: r181794
parent de4f64c7
2011-11-28 Richard Henderson <rth@redhat.com>
* libgomp.h (enum memmodel): New.
2011-11-21 Andreas Tobler <andreast@fgznet.ch> 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
* configure: Regenerate. * configure: Regenerate.
......
...@@ -45,6 +45,17 @@ ...@@ -45,6 +45,17 @@
# pragma GCC visibility push(hidden) # pragma GCC visibility push(hidden)
#endif #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 "sem.h"
#include "mutex.h" #include "mutex.h"
#include "bar.h" #include "bar.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment