C# Class Hyena.ThreadAssist

Exibir arquivo Open project: rubenv/tripod

Public Methods

Method Description
AssertInMainThread ( ) : void
AssertNotInMainThread ( ) : void
BlockingProxyToMain ( InvokeHandler handler ) : void
InitializeMainThread ( ) : void
ProxyToMain ( InvokeHandler handler ) : void
Spawn ( ThreadStart threadedMethod ) : Thread
Spawn ( ThreadStart threadedMethod, bool autoStart ) : Thread
SpawnFromMain ( ThreadStart threadedMethod ) : void

Method Details

AssertInMainThread() public static method

public static AssertInMainThread ( ) : void
return void

AssertNotInMainThread() public static method

public static AssertNotInMainThread ( ) : void
return void

BlockingProxyToMain() public static method

public static BlockingProxyToMain ( InvokeHandler handler ) : void
handler InvokeHandler
return void

InitializeMainThread() public static method

public static InitializeMainThread ( ) : void
return void

ProxyToMain() public static method

public static ProxyToMain ( InvokeHandler handler ) : void
handler InvokeHandler
return void

Spawn() public static method

public static Spawn ( ThreadStart threadedMethod ) : Thread
threadedMethod ThreadStart
return Thread

Spawn() public static method

public static Spawn ( ThreadStart threadedMethod, bool autoStart ) : Thread
threadedMethod ThreadStart
autoStart bool
return Thread

SpawnFromMain() public static method

public static SpawnFromMain ( ThreadStart threadedMethod ) : void
threadedMethod ThreadStart
return void