Method | Description | |
---|---|---|
AssignAndStart ( |
Method called by extern requestors to assign a delegate to execute to the class. This method put the thread in BUSY state and reset the AutoResetEvent. It then start the inner thread passing using an internal delegate function and passing the delegate to it.
|
|
ThreadPoolObject ( ) : System |
Default construtor. It is used to create a new ThreadPoolObject and to initialize the internal AutoResetEvent.
|
Method | Description | |
---|---|---|
assignAndStartDelegate ( |
Private method used to run a delegate passed. This method is passed (with irony as a Delegate) to the internal thread of the class that executes it and so the delegate passed. After the execution is terminated the thread is put in FREE state and the ResetEvent is set.
|
public AssignAndStart ( |
||
d | ||
return | void |