L4 briefly pass unit test
This commit is contained in:
@@ -105,7 +105,7 @@ namespace StgSharp.Mathematics.Numeric
|
||||
public void WaitAllWraps()
|
||||
{
|
||||
if (_disposed) {
|
||||
throw new ObjectDisposedException(typeof(MatrixParallelWrap).Name);
|
||||
throw new ObjectDisposedException(nameof(MatrixParallelWrap));
|
||||
}
|
||||
SpinWait.SpinUntil(() => Volatile.Read(ref _count) == 0);
|
||||
}
|
||||
@@ -114,7 +114,7 @@ namespace StgSharp.Mathematics.Numeric
|
||||
internal void ReportThreadAccomplished()
|
||||
{
|
||||
if (_disposed) {
|
||||
throw new ObjectDisposedException(typeof(MatrixParallelWrap).Name);
|
||||
throw new ObjectDisposedException(nameof(MatrixParallelWrap));
|
||||
}
|
||||
Interlocked.Decrement(ref _count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user