Skip to content

Commit

Permalink
Revert "Update"
Browse files Browse the repository at this point in the history
This reverts commit 9c60144.
  • Loading branch information
badrishc committed Aug 13, 2019
1 parent 9c60144 commit ea64fdf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cs/src/core/Epochs/FastThreadLocal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public FastThreadLocal()
if (0 == Interlocked.CompareExchange(ref instances[i], 1, 0))
{
id = i;
values[id] = default(T);
return;
}
}
Expand Down Expand Up @@ -61,7 +60,6 @@ public void DisposeThread()
public void Dispose()
{
instances[id] = 0;
values[id] = default(T);
}

public T Value
Expand Down

0 comments on commit ea64fdf

Please sign in to comment.