=========================================================================*/
[ThreadStatic]
static private LocalDataStoreHolder s_LocalDataStore;
-#if !MONO
+
// Do not move! Order of above fields needs to be preserved for alignment
// with native code
// See code:#threadCultureInfo
Contract.EndContractBlock();
SetStartHelper((Delegate)start,0); //0 will setup Thread with default stackSize
}
-#endif
+
[System.Security.SecuritySafeCritical] // auto-generated
public Thread(ThreadStart start, int maxStackSize) {
if (start == null) {
return new ThreadHandle(thread);
}
-
+#endif
/*=========================================================================
** Spawns off a new thread which will begin executing at the ThreadStart
IPrincipal principal = (IPrincipal)CallContext.Principal;
StartInternal(principal, ref stackMark);
}
-#endif
+
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
internal ExecutionContext.Reader GetExecutionContextReader()