Merged pull request #58 from XTZGZoReX/master.
[mono.git] / mcs / class / corlib / System.Threading / ThreadState.cs
index f17a9854c960ed47968a99bf01dbd99dd709e1d0..7010fea1e765445918dd15adc5a32d7f66bbe7d4 100644 (file)
@@ -10,7 +10,7 @@
 // (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