C# Class NSoft.NFramework.Threading.ThreadTool

Thread 관련 Utility Class 입니다.
显示文件 Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
CreateRandom ( ) : Random

Seed 값이 호출할 때마다 다른 Random 인스턴스를 반환합니다.

Sleep ( int millisecondsTimeout = 1 ) : void

System.Threading.Monitor.Wait 를 이용하여 Sleep 함수를 구현한 것이다.

Method Details

CreateRandom() public static method

Seed 값이 호출할 때마다 다른 Random 인스턴스를 반환합니다.
public static CreateRandom ( ) : Random
return System.Random

Sleep() public static method

System.Threading.Monitor.Wait 를 이용하여 Sleep 함수를 구현한 것이다.
public static Sleep ( int millisecondsTimeout = 1 ) : void
millisecondsTimeout int timeout (msec)
return void