Monday, July 12, 2010

Thread termination



The death of a thread (and any subsequent notifications etc.) Is effectively just an indication that the thread will never execute any more code; it does not guarantee that the operating system has yet finished removing the thread.
Death is just a simple thread of instructions, that thread will not execute any code. But this does not guarantee that the operating system has been out of the thread.

When a thread terminates, the operating system cleans up all resources still allocated to the thread; this includes closing any sessions which it had open. Closing a session involves notifying the other party in the session that the thread has disconnected so that it can do its own cleanup; the operating system needs to keep the dead t0hread''s data structures until all of this disconnection activity has finished.
When the thread terminates, the operating system will clean up all the resources allocated to the thread, which also includes close any thread is already open session. Closed session to inform the rest of the session, told them that the thread has not connected to the session, so that they can perform their own clean-up. Death of the operating system must be maintained all the data structures thread until the broken end of the process.

If a thread terminates, there may be a period of time during which any attempt to create a new thread of the same name fails with KErrAlreadyExists.
If the thread is terminated, then the need for a cycle, in this cycle, any thread can not create the same name, and the failure to KErrAlreadyExists exit.







Recommand Link:



My favorite Education



Art - Screen Savers Report



yuv format



Virtins Pocket Oscilloscope



Youtube Video to Blackberry Ultra



Infomation Audio Players



OJOsoft PSP Video Converter



Specialist Dial Up And Connection Tools



Youtube Movie to iphone Gold



How-to DVD to DivX



Mp3 to mp4



Bluesea VOB DAT DVD Maker



convert vob to flv



YOUTUBE to VHS Box



.mkv File



SuperBurner 3GP Converter



No comments:

Post a Comment