LLVM 17.0.0git
Public Attributes | List of all members
llvm::once_flag Struct Reference

The llvm::once_flag structure. More...

#include "llvm/Support/Threading.h"

Public Attributes

volatile sys::cas_flag status = Uninitialized
 

Detailed Description

The llvm::once_flag structure.

This type is modeled after std::once_flag to use with llvm::call_once. This structure must be used as an opaque object. It is a struct to force autoinitialization and behave like std::once_flag.

Definition at line 68 of file Threading.h.

Member Data Documentation

◆ status

volatile sys::cas_flag llvm::once_flag::status = Uninitialized

Definition at line 69 of file Threading.h.

Referenced by llvm::call_once().


The documentation for this struct was generated from the following file: