X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FSystem.Diagnostics%2FProcessThread.cs;h=4591e24260300d9b5639a1cfea1203cfd07396a4;hb=84943987e3ed366d3626ab276234b6c2d92ecf1d;hp=bbc6d56eb97890f0a5acf19503afab0e68b112f1;hpb=7e3b1b7b4cedf5dd61689a26c2c751e969e18bfe;p=mono.git diff --git a/mcs/class/System/System.Diagnostics/ProcessThread.cs b/mcs/class/System/System.Diagnostics/ProcessThread.cs index bbc6d56eb97..4591e242603 100755 --- a/mcs/class/System/System.Diagnostics/ProcessThread.cs +++ b/mcs/class/System/System.Diagnostics/ProcessThread.cs @@ -2,16 +2,28 @@ // System.Diagnostics.ProcessThread.cs // // Authors: -// Dick Porter (dick@ximian.com) +// Dick Porter (dick@ximian.com) +// Andreas Nahr (ClassDevelopment@A-SoftTech.com) // // (C) 2002 Ximian, Inc. http://www.ximian.com // using System.ComponentModel; +using System.ComponentModel.Design; + +namespace System.Diagnostics +{ + [Designer ("System.Diagnostics.Design.ProcessThreadDesigner, " + Consts.AssemblySystem_Design, typeof (IDesigner))] + public class ProcessThread : Component + { + + [MonoTODO ("Parse parameters")] + internal ProcessThread() + { + } -namespace System.Diagnostics { - public class ProcessThread : Component { [MonoTODO] + [MonitoringDescription ("The base priority of this thread.")] public int BasePriority { get { return(0); @@ -19,6 +31,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The current priority of this thread.")] public int CurrentPriority { get { return(0); @@ -26,6 +39,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The ID of this thread.")] public int Id { get { return(0); @@ -33,12 +47,14 @@ namespace System.Diagnostics { } [MonoTODO] - int IdealProcessor { + [Browsable (false)] + public int IdealProcessor { set { } } [MonoTODO] + [MonitoringDescription ("Thread gets a priority boot when interactively used by a user.")] public bool PriorityBoostEnabled { get { return(false); @@ -48,6 +64,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The priority level of this thread.")] public ThreadPriorityLevel PriorityLevel { get { return(ThreadPriorityLevel.Idle); @@ -57,6 +74,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The amount of CPU time used in privileged mode.")] public TimeSpan PrivilegedProcessorTime { get { return(new TimeSpan(0)); @@ -64,12 +82,14 @@ namespace System.Diagnostics { } [MonoTODO] - IntPtr ProcessorAffinity { + [Browsable (false)] + public IntPtr ProcessorAffinity { set { } } [MonoTODO] + [MonitoringDescription ("The start address in memory of this thread.")] public IntPtr StartAddress { get { return((IntPtr)0); @@ -77,6 +97,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The time this thread was started.")] public DateTime StartTime { get { return(new DateTime(0)); @@ -84,6 +105,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The current state of this thread.")] public ThreadState ThreadState { get { return(ThreadState.Initialized); @@ -91,6 +113,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The total amount of CPU time used.")] public TimeSpan TotalProcessorTime { get { return(new TimeSpan(0)); @@ -98,6 +121,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The amount of CPU time used in user mode.")] public TimeSpan UserProcessorTime { get { return(new TimeSpan(0)); @@ -105,6 +129,7 @@ namespace System.Diagnostics { } [MonoTODO] + [MonitoringDescription ("The reason why this thread is waiting.")] public ThreadWaitReason WaitReason { get { return(ThreadWaitReason.Executive);