Remove internal self-replicating support from Tasks
authorStephen Toub <stoub@microsoft.com>
Sat, 4 Feb 2017 21:35:14 +0000 (16:35 -0500)
committerStephen Toub <stoub@microsoft.com>
Sun, 5 Feb 2017 13:23:48 +0000 (08:23 -0500)
commit1fd6dfbdd1ddc5f5c51c06f0a615c1f76ef46ef5
tree3619bfae6d0c4daa5d2eb5ab46814d3af681fc15
parent52bb0dda3e11bee6920b88be805b77a7513ae5b6
Remove internal self-replicating support from Tasks

In the initial TPL prototype, Tasks had a feature that allowed them to "replicate", meaning to schedule a copy of themselves.  Prior to shipping the initial version, this feature was made internal, as it was deemed unnecessary, but by then the Parallel loops constructs had already been built on top of them.  Now that Parallel no longer depends on this feature (and isn't in CoreLib), we can entirely rip it out.

Commit migrated from https://github.com/dotnet/coreclr/commit/d433a7b4443c7a6eee389c6cb57a21c7e307630a
src/coreclr/src/mscorlib/src/System/Threading/Tasks/Task.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/TaskFactory.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/future.cs
src/coreclr/src/mscorlib/src/System/ThrowHelper.cs