ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Operating Systems  >>  Operating Systems General Concepts
 
 


 

 
 Windows interview questions  Windows Interview Questions
 Linux interview questions  Linux Interview Questions
 Unix interview questions  Unix Interview Questions
 Solaris interview questions  Solaris Interview Questions
 RTOS interview questions  RTOS Interview Questions
 Bulnex interview questions  Bulnex Interview Questions
 Operating Systems General Concepts interview questions  Operating Systems General Concepts Interview Questions
 Data Structures interview questions  Data Structures Interview Questions
 Operating Systems AllOther interview questions  Operating Systems AllOther Interview Questions
Question
What are counting semaphores?
 Question Submitted By :: Leossk
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are counting semaphores?
Answer
# 1
Counting semaphore -Locks a shared resource against 
simultaneous access by multiple threads 
A counting semaphore is a generalization of a mutex 
semaphore that locks a shared resource against simultaneous 
access by multiple threads. All resource allocation 
functions, such as wait() and post() , take an optional 
parameter defining the number of resources to allocate or 
deallocate.
 
Is This Answer Correct ?    0 Yes 0 No
Swetcha
[Semanticspace]
 
  Re: What are counting semaphores?
Answer
# 2
Counting semaphores are a synchronization primitive that
allow threads to wait until an event has occurred. The event
may be generated by a producer thread, or by a DSR in
response to a hardware interrupt.
 
Is This Answer Correct ?    0 Yes 0 No
Arshiya
 
 
 

 
 
 
Other Operating Systems General Concepts Interview Questions
 
  Question Asked @ Answers
 
List out some reasons for process termination.  2
How to find the number of sockets created in your system? CA1
Differentiate between RAM and ROM? DELL4
what is assembler?  1
What is difference between synchronous and asynchronous threads and when can we use them? HP1
What are DDks? Name an operating system that includes this feature.  2
What are short, longand mediumterm scheduling?  1
Why paging is used?  1
What is a drawback of MVT?  2
Difference between Primary storage and secondary storage?  1
An Infosys Question : I + Opposite of, W + Initial of, Ice + twice of the letter b4T + 3/4 of X + 15th letter + 1/2 of 0. Please find the answer & mail me Infosys11
What is the best suited algorithm to avoid internal fragmentation? HP1
Term stickily bit is related to a)kernel b)undeletable file c)none Siemens2
Explain about paged segmentation and segment paging?  1
Explain the concept of Reentrancy?  1
What is an idle thread?  1
In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string, How many words are needed. [a] 2k/9 [b] (2k+8)/9 [c] (k+8)/9 [d] 2*(k+8)/9 [e] none Wipro1
What are demand- and pre-paging?  1
What is time-stamping?  1
What is the Translation Lookaside Buffer (TLB)?  1
 
For more Operating Systems General Concepts Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com