Mercurial > pub > ImplabNet
diff MonoPlay/Program.cs @ 104:5f10d54b45df v2
renamed Promise.Last -> Promise.On
Promise.On doesn't changes Promise.IsExclusive property
author | cin |
---|---|
date | Sun, 09 Nov 2014 23:03:45 +0300 |
parents | b3f5bc613905 |
children | f3bdb7ba59b9 |
line wrap: on
line diff
--- a/MonoPlay/Program.cs Sat Nov 08 10:02:47 2014 +0300 +++ b/MonoPlay/Program.cs Sun Nov 09 23:03:45 2014 +0300 @@ -12,7 +12,7 @@ throw new ArgumentNullException("args"); var q1 = new MTQueue<int>(); - var q2 = new ConcurrentQueue<int>(); + var q2 = new Queue<int>(); const int count = 10000000; @@ -32,7 +32,7 @@ t2 = Environment.TickCount; Console.WriteLine("LinkedList: {0} ms", t2 - t1); - q2 = new ConcurrentQueue<int>(); + q2 = new Queue<int>(); t1 = Environment.TickCount;