Interface OmpAtomicNode

All Superinterfaces:
ASTNode, BlockItemNode, OmpExecutableNode, OmpNode, OmpSyncNode, StatementNode

public interface OmpAtomicNode extends OmpSyncNode
This represents an OpenMP atomic construct, which has the syntax:
 #pragma omp atomic [seq_cst][read | write | update][seq_cst] new-line
   expression-stmt
 
or
 #pragma omp atomic capture [seq_cst] new-line 
   structured-block
 
  • Method Details

    • atomicClause

      Returns the atomic clause of this OpenMP atomic construct, whether it is READ, WRITE, UPDATE or CAPTURE
      Returns:
      the atomic clause of this OpenMP atomic construct
    • seqConsistent

      boolean seqConsistent()
      is this atomic construct sequentially consistent ?
      Returns:
      true iff this atomic construct is sequentially consistent