Thread Life Cycle As Aneka threads exist and operate in a distributed environment, their life cycle differs from that of local reads. The following figure depicts the possible execution states for local threads supported by the .Net framework. A thread may be in one or more of those statuses at any given moment. When a new thread is created, its status is Unstarted, and when the Start method is called, it changes to Running. There is also a Background state that specifies whether a thread is operating in the background or the foreground. The diagram below depicts the life cycle of an Aneka Thread. Because the two thread types are essentially different, one is local and the other is distributed, the possible states they might take vary from instantiation to termination. Most state transitions in local threads are managed by the developer, who causes the state transition by executing methods on the thread instance, but many state transitions in Aneka threads are handled ...
Comments
Post a Comment