Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
OS interview
OS compiler, linker, loader
OS memory management
OS multiprocessing
OS multithreading
OS process management
OS synchronization
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 

Multi-threading

Multi-threading Interview questions

<<Previous  Next>>

Multi-threading - Oct 29, 2008, 17:35 pm by Amit Satpute

Define Thread.

Threads are small processes that for parts of a larger process. A thread is contained inside a process. Different threads in the same process share some resources.

What are the advantages of using Thread?

Some advantages of using threads are:

- A process switching takes a longer time than that by threads.
- They can execute in parallel on a multiprocessor.
- Threads can share address spaces.

Compare Thread and process.

Threads
Share address space
Have direct access to data segment of its process
Can communicate with other threads of the same process
Have no overhead
If a main thread gets affected, other threads to can get affected

Processes
Have own address space
Have own copy of data segment of the parent process
Processes must use IPC for communication within sibling processes
Have considerable overhead
Change in a parent process has no effect on the child processes.

  1. Define Thread.
  2. What are the advantages of using Thread.
  3. Compare Thread and process.

<<Previous  Next>>



 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.