singrdk/base/Services/ServiceManager/Util.sg

31 lines
854 B
Plaintext
Raw Normal View History

2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Singularity.ServiceManager;
namespace Microsoft.Singularity.Services.ServiceManager
{
static class Util
{
public static void IllegalStateReached()
{
DebugStub.WriteLine("*** ILLEGAL CODE PATH REACHED ***");
DebugStub.Break();
for (;;) {
System.Threading.Thread.Sleep(100000);
}
}
public static SchedulerTime SchedulerTimeNever
{
get { return SchedulerTime.MaxValue; }
}
}
}