API

Volatile.Write

Performs a volatile write with release ordering.

Formal Syntax & Structure

csharp syntaxcsharp
Volatile.Write(ref ready, 1);

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Volatile.Write(ref ready, 1);
C# & .NET Reference