mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed static init/deinit priority for Thread.Current
This commit is contained in:
parent
2101774b8a
commit
bea4fe007a
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ using System.Threading;
|
|||
|
||||
namespace System
|
||||
{
|
||||
[StaticInitPriority(100)]
|
||||
[StaticInitPriority(101)]
|
||||
static class Runtime
|
||||
{
|
||||
const int32 cVersion = 8;
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace System.Threading
|
|||
public delegate void ThreadStart();
|
||||
public delegate void ParameterizedThreadStart(Object obj);
|
||||
|
||||
[StaticInitPriority(100)]
|
||||
public sealed class Thread
|
||||
{
|
||||
private int mInternalThread;
|
||||
|
@ -21,7 +22,7 @@ namespace System.Threading
|
|||
bool mAutoDelete;
|
||||
public static Thread sMainThread = new Thread() ~ delete _;
|
||||
|
||||
[StaticInitPriority(101)]
|
||||
[StaticInitPriority(102)]
|
||||
struct RuntimeThreadInit
|
||||
{
|
||||
static Object Thread_Alloc()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue