You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
27
external/referencesource/mscorlib/system/threading/timeout.cs
vendored
Normal file
27
external/referencesource/mscorlib/system/threading/timeout.cs
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
// ==++==
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
|
||||
namespace System.Threading {
|
||||
using System.Threading;
|
||||
using System;
|
||||
// A constant used by methods that take a timeout (Object.Wait, Thread.Sleep
|
||||
// etc) to indicate that no timeout should occur.
|
||||
//
|
||||
// <
|
||||
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
public static class Timeout
|
||||
{
|
||||
[System.Runtime.InteropServices.ComVisible(false)]
|
||||
public static readonly TimeSpan InfiniteTimeSpan = new TimeSpan(0, 0, 0, 0, Timeout.Infinite);
|
||||
|
||||
public const int Infinite = -1;
|
||||
internal const uint UnsignedInfinite = unchecked((uint)-1);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user