Table of Contents

Class StressTest

Namespace
NanoByte.Common.Threading
Assembly
NanoByte.Common.dll
public static class StressTest
Inheritance
object
StressTest

Methods

Run(Action, int)

Runs the given action many times in parallel.

public static void Run(Action action, int threadCount = 100)

Parameters

action Action
threadCount int

Exceptions

AggregateException

One or more of the executions of the action threw an exception.