Ejemplo n.º 1
0
 public TransducerFunction(object f, object rf) :
     base(rf)
 {
     this._f  = f;
     this._a  = new System.Collections.ArrayList();
     this._pv = (Volatileǃ)funclib.Core.Volatileǃ("::none");
 }
Ejemplo n.º 2
0
 public TransducerFunction(object n, object rf) :
     base(rf)
 {
     this._n  = n;
     this._iv = (Volatileǃ)funclib.Core.Volatileǃ(-1);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Non-atomically swaps the value of volatile.
 /// </summary>
 /// <param name="vol">A <see cref="Volatileǃ"/> object.</param>
 /// <param name="f">An object that implements the <see cref="IFunction"/> interface.</param>
 /// <param name="args">Any additional arguments passed to f</param>
 public VSwapǃ(object vol, object f, params object[] args)
 {
     this._v    = (Volatileǃ)vol;
     this._f    = f;
     this._args = args;
 }
Ejemplo n.º 4
0
 public TransducerFunction(object rf) :
     base(rf)
 {
     this._seen = (Volatileǃ)funclib.Core.Volatileǃ(funclib.Core.HashSet());
 }
Ejemplo n.º 5
0
 public TransducerFunction(object pred, object rf) :
     base(rf)
 {
     this._pred = pred;
     this._dv   = (Volatileǃ)funclib.Core.Volatileǃ(true);
 }