public void Join() { thread.Join (); }
/// <exception cref="System.Exception"></exception> private static void RunOnThread(Runnable task) { Sharpen.Thread t = new Sharpen.Thread(task); t.Start(); t.Join(1000); NUnit.Framework.Assert.IsFalse(t.IsAlive(), "thread has stopped"); }