public Node(AtomicReference <Thread> edit) { _edit = edit; _array = new object[32]; }
/// <summary> /// Construct an atom with given initial value and metadata. /// </summary> /// <param name="state">The initial value.</param> /// <param name="meta">The metadata to attach.</param> public Atom(object state, IPersistentMap meta) : base(meta) { _state = new AtomicReference <object>(state); }
public Node(AtomicReference <Thread> edit, object[] array) { _edit = edit; _array = array; }
/// <summary> /// Construct an atom with given intiial value. /// </summary> /// <param name="state">The initial value</param> public Atom(object state) { _state = new AtomicReference <object>(state); }