class AtomicFlag

Overview

Reference-typed atomic Boolean. Wrapping Atomic(Int8) in a class keeps the underlying byte addressable through an Array index (Atomic itself is a struct and would copy on []).

Defined in:

detector/detector.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def get : Bool #

[View source]
def set #

[View source]