Thread safe version of the Random class.
Namespace:
AForgeAssembly: AForge (in AForge.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public sealed class ThreadSafeRandom : Random |
Remarks
The class inherits the Random and overrides its random numbers generation methods providing thread safety by guarding call to the base class with a lock. See documentation to Random for additional information about the base class.