1 Answer - Sort by: Date | Rating
A thread is a part of a process but is independent in the sequence of execution with respect to the parent process. It is also called as a light weight process. The concept of thread is similar to that as a program contains many processes similarly a process can spawn many threads. Each thread works independent of each other under the process that created them and shares the same memory space.
The basic advantage of a thread is that it can perform the same functions as a process but to use threads instead processes saves a lot of system overheads. As the operating system share the memory space between different processes and to switch from one process to another, it needs to save all the memory and other information of one process and then move to other so that it can come back to the first one on its turn. But as the threads are managed by the process and share the same memory space as that of the parent process therefore it is very cheaper in terms of CPU cycles to use threads instead of process (switching from one process to another is lessened and also the effort to create a new process is saved).
The basic advantage of a thread is that it can perform the same functions as a process but to use threads instead processes saves a lot of system overheads. As the operating system share the memory space between different processes and to switch from one process to another, it needs to save all the memory and other information of one process and then move to other so that it can come back to the first one on its turn. But as the threads are managed by the process and share the same memory space as that of the parent process therefore it is very cheaper in terms of CPU cycles to use threads instead of process (switching from one process to another is lessened and also the effort to create a new process is saved).
0
0
- 3d Chat Rooms Where U Can Make Up A Animal And U Can See Other Avatars?
- In My Pictures, How Do I Move A Picture Out Of One Folder So I Can Put It In Another Folder?
- Where Is Shaymin Cave?
- Have Phone Cant Read Display. How Can I Show The Phone Display On This Computer?
- What Is Mean Computer?
- What Can I Do To Find Out My ITunes Password?
- Where Is A Wild Turtwig In Platinum?
- Where Is A Piplup In Platinum That Is Not A Starter?
- Pokemon How Do You Make An Arceus Egg?
- Is There Any Cheats In November That Havent Expired Yet 2009?
- What Site Has The Most Video Game Cheats?
- Where Is Elekid In Platinum?
- What Site Can I Print A "Free" Oregon QuitClaim Form?
- How Can I Make My Font Bolder On Facebook?
- How Do You Go To Your E-mail Provider For Myspace?
- What Is The Acual SIZE OF A PSP?
- What's The Best Guess To Hack An Ipod Touch Passcode Lock?
- What Are The Advantages Of Playing Games?
- Draw A Diagram To Explain How It Is Formed?
- What Kinds Of Pokemon Can Learn Dig?
- How Do U Get A Ufo In Gta San Andreas For Pc?
- How Do I Get A Pic And Put My Friends Names Beside Them?
- How Do You Level Up Easy Without Useing Cheats Or Rare Candies?
- How Much Does It Cost A Company Like LG To Produce A Refrigerator With An LCD Screen Built In? What Is A General Production Cost For A Fridge Like This?
- What Is The Easiest Way To Get A Crobat?
- What Is Meant By Thread? What Are The Different Types Of Threads?
- When The Blended Thread Attack In Computer?
- What Is Meant By Computer Graphics?
- What Is Meant By Windows Of A Computer?
- What Is Meant By Personal Computer?
- What Is Meant By Computer Configuration?
- What Is Meant By Computer Networking?
- What Is Meant By 'FAT' In Computer Language?

New Comment - Comments are editable for 5 min.