2008-03-05 09:52:00 -05:00
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Microsoft Research Singularity - Singularity ABI
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// File: ThreadState.cs
|
|
|
|
//
|
|
|
|
// Note:
|
|
|
|
//
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Microsoft.Singularity.V1.Threads
|
|
|
|
{
|
|
|
|
//| <include path='docs/doc[@for="ThreadState"]/*' />
|
|
|
|
[Flags]
|
|
|
|
public enum ThreadState
|
|
|
|
{
|
2008-11-17 18:29:00 -05:00
|
|
|
Undefined = 0x0,
|
|
|
|
Running = 0x1,
|
|
|
|
Unstarted = 0x2,
|
|
|
|
Stopped = 0x4,
|
|
|
|
Suspended = 0x8,
|
|
|
|
Blocked = 0x10,
|
|
|
|
Runnable = 0x20
|
2008-03-05 09:52:00 -05:00
|
|
|
}
|
|
|
|
}
|