ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Operating Systems >> Windows >> Windows AllOther
 
 


 

 
 SDK interview questions  SDK Interview Questions (33)
 Windows Threads interview questions  Windows Threads Interview Questions (24)
 Windows General interview questions  Windows General Interview Questions (66)
 Windows AllOther interview questions  Windows AllOther Interview Questions (216)
Question
What is semaphores and why it is used?
 Question Submitted By :: Windows-AllOther
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
semaphores is avariable which is used for restricting
access to shared resources.A semaphore contains a counter
for the number of available resources.Any process which
wants to access the resorse will first check the value of
semaphore.
 
Is This Answer Correct ?    57 Yes 7 No
Pankaj Huria
 
Answer
# 2
Semaphores are used to make system free from conflicts and
hang. when more than one program are executed
simultaniously then computer hangs and sometimes gives
wrong output so instead to come out from this situation
semaphore is used which takes care for program execution
and manages it.
 
Is This Answer Correct ?    58 Yes 19 No
Pritesh Parmar
 
 
 
Answer
# 3
Semaphores (On UNIX)

• is a synchronization primitive
• is a form of IPC, semaphore is not usedfor exchanging
large amounts of data,as is pipe; but are intended to let
multiple processes synchronize their operations.
 
Is This Answer Correct ?    14 Yes 8 No
Hajee Mohamed
 
Answer
# 4
On some UNIX® systems, the system administrator can edit
the /etc/master file and define limits for IPC mechanisms
(semaphores, shared memory segments, and message queues).
The problem with this method is that the higher the limits,
the more memory the operating system uses, and performance
can be adversely affected.

AIX uses a different method. In AIX®, upper limits are
defined for the IPC mechanisms, which are not configurable.
The individual IPC data structures are allocated and
deallocated as needed, so memory requirements depend on the
current system usage of IPC mechanisms.

Semaphores 4.3.0 4.3.1 4.3.2 5.1 5.2 5.3 6.1
Maximum number of semaphore IDs for 32-bit kernel 4096 4096
131072 131072 131072 131072 N/A
Maximum number of semaphore IDs for 64-bit kernel 4096 4096
131072 131072 131072 1048576 1048576
Maximum semaphores per semaphore ID 65535 65535 65535 65535
65535 65535 65535
 
Is This Answer Correct ?    10 Yes 9 No
Hajee Mohamed
 
Answer
# 5
You can also go hrough the video
http://www.youtube.com/watch?v=VQFJQJGmixM

It explains the cncept of semaphore and mutex or in general
shared resource in a unique way.
 
Is This Answer Correct ?    1 Yes 0 No
Vijay
 
Answer
# 6
It is a SYSTEM OF COMMUNICATION WHICH DEF AND DUM PEOPLE USE TO COMMUNICATE 
Is This Answer Correct ?    3 Yes 7 No
Ram
 
Answer
# 7
Semaphores are used to manage hangs. they stop your computer from having them ever again isn't that great. 
Is This Answer Correct ?    3 Yes 9 No
Kklk
 
Answer
# 8
to prevent a deadlock 
Is This Answer Correct ?    6 Yes 18 No
Priti
 

 
 
 
Other Windows AllOther Interview Questions
 
  Question Asked @ Answers
 
What are the features of Windows XP? Brigade 34
If the System is slow complaints from the client what will you do?   3
Logical Diagram of Active Directory? What is the difference between child domain & additional domain server? CTS 9
What is the purpose of Process Handle Table?   1
What is the Logical / Physical Structures of the AD Environment? IBM 9
tell me about the paper 70-640 , 70-642, 70-646   3
what is meant by bluetooth? or about bluetooth, uses of bluetooth, advantages and disadvantages of bluetooth and more information about bluetooth and in what way it is used and how it works Please kindly answer my questions sir   1
what is diffrence beatween outlook and ms outlook what is diffrence beatween win2000server and win2003server   4
lan connectiveti is ok ,DHCP working properly ,selected automatic ip,system is ok but a user not getting ip address ?   4
If printer prints junk characters then what is problem? what is solution for that?   2
What is the difference between windows 2000 and windows 2003 server features? what is ASR? What are the roles of FSMO? Which are Forest level roles and Domain level roles? What are the steps taken while moving the FSMO roles? Types of RAID and brief description ? Which are all fault tolerant raids? What is the actual disk space utilised in RAID5 and RAID1? What is the diff btwn Mirroring and Duplexing? What are the different types of partitions in Active Directory? What is the database file name created when ADS is installed and where is it stored? What are the types of Sites available? IBM 4
What is Mutex Object and why it is used? HCL 1
 
For more Windows AllOther Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com