// (C) 2001 Ximian, Inc. http://www.ximian.com
//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004, 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Threading {
-
- /// <summary>
- /// </summary>
[Flags]
+ [Serializable]
+ [ComVisible (true)]
public enum ThreadState {
-
- /// <summary>
- /// </summary>
Running = 0x00000000,
-
StopRequested = 0x00000001,
SuspendRequested = 0x00000002,
-
- /// <summary>
- /// </summary>
Background = 0x00000004,
-
- /// <summary>
- /// </summary>
Unstarted = 0x00000008,
-
- /// <summary>
- /// </summary>
Stopped = 0x00000010,
-
- /// <summary>
- /// </summary>
WaitSleepJoin = 0x00000020,
-
Suspended = 0x00000040,
-
- /// <summary>
- /// </summary>
AbortRequested = 0x00000080,
-
- /// <summary>
- /// </summary>
Aborted = 0x00000100,
} // ThreadState