Function atomic-newpub

Source
:fn(pub) atomic-new ( t  (Atomic t) )
Description

Construct an Atomic wrapping an initial value. The value is stored inside a shared AtomicI64 by the host; cloning the returned handle shares the same underlying atomic.