Skip to content
  • Etienne Renault's avatar
    bricks: ATOMIC_FLAG_INIT initialization · c658d540
    Etienne Renault authored
    From the working draft: "The macro ATOMIC_FLAG_INIT shall be defined
    in such a way that it can be used to initialize an object of type
    atomic_flag to the clear state. The macro can be used in the form:
    atomic_flag guard = ATOMIC_FLAG_INIT; It is unspecified whether the
    macro can be used in other initialization contexts."
    
    * bricks/brick-shmem.h: here.
    c658d540