NUnit.Framework.Internal.ThreadUtility
ThreadUtility provides a set of static methods convenient
for working with threads.
namespace NUnit.Framework.Internal
{
public static class ThreadUtility
{
public static void Delay(int milliseconds, WaitCallback threadPoolWork, object state = null);
public static void Abort(Thread thread, int nativeId = 0);
public static void Kill(Thread thread, int nativeId = 0);
public static void Kill(Thread thread, object stateInfo, int nativeId = 0);
public static int GetCurrentThreadNativeId();
public static IPrincipal GetCurrentThreadPrincipal();
public static void SetCurrentThreadPrincipal(IPrincipal principal);
}
}