Mercurial > pub > ImplabNet
comparison Implab/Parallels/ArrayTraits.cs @ 50:f8cbe84cfdb1
Слияние с interactive logger
author | cin |
---|---|
date | Fri, 18 Apr 2014 12:37:48 +0400 |
parents | d9d794b61bb9 |
children | d67b95eddaf4 |
comparison
equal
deleted
inserted
replaced
44:e5ec543feee3 | 50:f8cbe84cfdb1 |
---|---|
40 return m_promise; | 40 return m_promise; |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 protected override void Worker() { | 44 protected override void Worker() { |
45 TraceContext.Transfer(m_traceContext); | 45 TraceContext.Fork(m_traceContext); |
46 base.Worker(); | 46 base.Worker(); |
47 } | 47 } |
48 | 48 |
49 protected override bool TryDequeue(out int unit) { | 49 protected override bool TryDequeue(out int unit) { |
50 unit = Interlocked.Increment(ref m_next) - 1; | 50 unit = Interlocked.Increment(ref m_next) - 1; |
97 return m_promise; | 97 return m_promise; |
98 } | 98 } |
99 } | 99 } |
100 | 100 |
101 protected override void Worker() { | 101 protected override void Worker() { |
102 TraceContext.Transfer(m_traceContext); | 102 TraceContext.Fork(m_traceContext); |
103 base.Worker(); | 103 base.Worker(); |
104 } | 104 } |
105 | 105 |
106 protected override bool TryDequeue(out int unit) { | 106 protected override bool TryDequeue(out int unit) { |
107 unit = Interlocked.Increment(ref m_next) - 1; | 107 unit = Interlocked.Increment(ref m_next) - 1; |