GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Sun  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 23 of 25    Print  
UNIX: difference between select and poll

  
Total Answers and Comments: 1 Last Update: February 20, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 20, 2006 08:47:21   #1  
Surya        

RE: UNIX: difference between select and poll
The basic difference is that select()'s fd_set is a bit mask and  therefore has some fixed size. It would be possible for the kernel to  not limit this size when the kernel is compiled allowing the  application to define FD_SETSIZE to whatever it wants but it takes more work. 4.4BSD's kernel and the Solaris library function both have this limit.
With poll() however the user must allocate an array of pollfd structures and pass the number of entries in this array so there's no fundamental limit. As Casper notes fewer systems have poll() than select. 


 
Is this answer useful? Yes | No

 Related Questions

Give the difference between monolithic and microlithic kernal: A. monolithic large B. microlithic used in embedded systems. C. none

Latest Answer : The basic difference is that select()'s fd_set is a bit mask and   therefore has some fixed size.  It would be possible for the kernel to   not limit this size when the kernel is compiled, allowing the   application ...


 Sponsored Links

 
Related Articles

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

Data Warehouses Non Technical Issues

Data Warehouses Non Technical Issues When companies get ready to implement a data warehouse few of them pay attention to the political issues that may surround it It must be emphasized that politics can reduce the chances for success with a data warehouse project and I want to warn companies against
 

Difference between Scholarship and Grant

Difference between Scholarship and Grant While both scholarships and grants allow students to pay for their tuition without having to pay the money back there are a number of key differences between the two Knowing the difference between grants and scholarship will make it much easier for students t
 

How To Select The Best CRM Solution For Your Business

How To Select The Best CRM Solution For Your Business When most people talk about Customer relationship management they use the term in a context that is connected to large corporations However the costs of CRM systems have continued to fall in the last few years and it is now in the price range of
 

Technical Aspects of CRM

Technical Aspects of CRM While it must be emphasized that CRM is not a technology there are a number of technical issues that need to be considered when a company decides to implement a CRM system The first technical issue that needs to be analyzed is scalability In a nutshell the CRM system must be
 

The Difference Between Data Mart and Data Warehouse

The Difference Between Data Mart and Data Warehouse The biggest decision facing most IT managers today is whether or not they should construct the data mart before the data warehouse Many vendors will tell you that data warehouses are hard to build as well as expensive mosgoogle If you listen to som
 

ASP.NET Technical Practice Test

ASP NET Technical Practice Test This article provides details about ASP NET Technical Online Practice Test which is made available at geekinterview com Questions are generated randomly each time you take the test Online Practice Test is made available to everyone you too can take the test and get yo
 

C# Technical Practice Test

C Technical Practice Test This article provides details about C Online Practice Test which is made available at geekinterview com Questions are generated randomly each time you take the test Online Practice Test is made available to everyone you too can take the test and get your score assessed mosg
 

Technical Terms Used in Testing World

Technical Terms Used in Testing World In this tutorial you will learn about technical terms used in testing world from Audit Acceptance Testng to Validation Verification and Testing mosgoogle Audit An independent examination of a work product or set of work products to assess compliance with specifi
 

Technical Writing: It might just be the foot in the door you need

Technical Writing It might just be the foot in the door you need For new computer science graduates or even tried and true professionals the opportunities in IT seem to be few and far between If you re looking to break into the industry need a foot in the door at a large corporation or are possibly
 

Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape