Commit Graph
2 Commits
Author SHA1 Message Date
Koundinya Veluri e2fd9d8fba Expose some Thread members (dotnet/corefx#12827)
* Expose some Thread members

- Implemented Thread type in CoreFX, so with this, Thread will no longer be type-forwarded to the runtime. It instead forwards selectively to the runtime through a RuntimeThread instance for functionality is currently strongly tied with the runtime. Some of this functionality may further be moved to CoreFX later.
- S.Threading.Thread compiles against S.Private.CoreLib of the runtime for access to RuntimeThread, and due to type conflicts between CoreLib and CoreFX assemblies, uses project references to the CoreFX implementation projects and aliases where necessary to reference the intended public type

Related to dotnet/corefx#11632, dotnet/corefx#11638

Commit migrated from https://github.com/dotnet/corefx/commit/5cfbd066343338c696b4a5345c7bd188c87b0096
2016-10-26 21:43:16 -07:00
Koundinya Veluri 0dd80e4488 Expose some missing threading types/members (Timer, exceptions, etc.) (dotnet/corefx#12392)
- Expose: Timer members, some exception types and members, ThreadExceptionEventArgs/Handler, Monitor.Wait with exitContext parameter
- Move CriticalHandle and remaining types from System.Runtime.Handles to System.Runtime, expose CriticalHandle[ZeroOr]MinusOneIsInvalid
- Revert base class of safe handle types that used to derive from SafeHandle[ZeroOr]MinusOneIsInvalid, and upgrade those projects to ns1.7

Commit migrated from https://github.com/dotnet/corefx/commit/de8eee4b26f5154698fddcd150a4c7487a69da64
2016-10-12 18:31:26 -07:00