diff --git a/SWIG/Examples/test-suite/csharp/threads_runme.cs b/SWIG/Examples/test-suite/csharp/threads_runme.cs new file mode 100644 index 000000000..fa901990c --- /dev/null +++ b/SWIG/Examples/test-suite/csharp/threads_runme.cs @@ -0,0 +1,61 @@ +using System; +using System.Threading; +using threadsNamespace; + +public class runme +{ + static void Main() + { + Kerfuffle kerf = new Kerfuffle(); + const int NUM_THREADS = 8; + Thread[] threads = new Thread[NUM_THREADS]; + TestThread[] testThreads = new TestThread[NUM_THREADS]; + // invoke the threads + for (int i=0; i