Bladeren bron

More System.Threading stubs, in the System assembly.

svn path=/trunk/mcs/; revision=811
Dick Porter 24 jaren geleden
bovenliggende
commit
30a82dcb2e

+ 26 - 0
mcs/class/System/System.Threading/ThreadExceptionEventArgs.cs

@@ -0,0 +1,26 @@
+//
+// System.Threading.ThreadExceptionEventArgs.cs
+//
+// Author:
+//   Dick Porter ([email protected])
+//
+// (C) Ximian, Inc.  http://www.ximian.com
+//
+
+
+namespace System.Threading
+{
+	public class ThreadExceptionEventArgs : EventArgs
+	{
+		public ThreadExceptionEventArgs(Exception t) {
+			// blah
+		}
+
+		public Exception Exception {
+			get {
+				return new Exception();
+			}
+		}
+		
+	}
+}

+ 14 - 0
mcs/class/System/System.Threading/ThreadExceptionEventHandler.cs

@@ -0,0 +1,14 @@
+//
+// System.Threading.ThreadExceptionEventHandler.cs
+//
+// Author:
+//   Dick Porter ([email protected])
+//
+// (C) Ximian, Inc.  http://www.ximian.com
+//
+
+
+namespace System.Threading
+{
+	public delegate void ThreadExceptionEventHandler(object sender, ThreadExceptionEventArgs e);
+}

+ 2 - 0
mcs/class/System/System.Threading/common.src

@@ -0,0 +1,2 @@
+ThreadExceptionEventArgs.cs
+ThreadExceptionEventHandler.cs

+ 0 - 0
mcs/class/System/System.Threading/unix.src


+ 0 - 0
mcs/class/System/System.Threading/windows.src


+ 2 - 1
mcs/class/System/makefile

@@ -7,7 +7,8 @@ DIRS=\
 	System.Diagnostics		\
 	System.Net			\
 	System.Net.Sockets		\
-	System.Collections.Specialized 
+	System.Collections.Specialized 	\
+	System.Threading
 
 all:
 	@echo "You must use 'make windows' or 'make unix'."