Author | Message |
---|---|
BlackSonar n00b Posts: 42 | The library classes providing the support of the parallel execution System.Threading namespace can be found. Let us define a function, which does not have parameters, and his recurrence type void. We define a delegated function type with the help of this function. It received delegated one in this manner using prepare single Thread object. We call it the object got in this manner the function of Start. Sleep(ms): static function, the execution of the current thread waits in the parameter granted time. Join(): we wait for the conclusion of the current thread. Interrupt(): the interruption of the current thread Abort(): the conclusion of the current thread IsAlive: characteristic, tells it that the current thread living person. Suspend(): the suspension of the execution of the execution of the thread. Resume(): the conclusion of the suspension, the thread leaves. |
The Architect n00b Posts: 14 | lol @ living person. Do you know how to apply this in C#? All I know is that you pulled that out of somewhere and tried to use your own words. |