Cleanup and resynchronize Thread/InternalThread fields. (#15910)
commit499a02d6a14edb90263023a452df439f5ab5bd05
authorJay Krell <jaykrell@microsoft.com>
Wed, 31 Jul 2019 16:30:50 +0000 (31 09:30 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 31 Jul 2019 16:30:50 +0000 (31 18:30 +0200)
tree3e89fe7b4924883248801e698f92a8c17b217ff6
parent9acd4c8004852aa0d2589e78fcfb86c4cf2459f8
Cleanup and resynchronize Thread/InternalThread fields. (#15910)

- Remove unused.
- Add missing that just happened to work.
- Synchronize size between netcore and regular. `#if` considered bad.

Extracted from https://github.com/mono/mono/pull/15859.
configure.ac
mcs/class/corlib/System.Threading/Thread.cs
mono/metadata/object-internals.h
netcore/System.Private.CoreLib/src/System.Threading/Thread.cs