Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is semaphores and why it is used?

Answers were Sorted based on User's Feedback



What is semaphores and why it is used?..

Answer / pankaj huria

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

What is semaphores and why it is used?..

Answer / pritesh parmar

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 ?    59 Yes 19 No

What is semaphores and why it is used?..

Answer / hajee mohamed

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

What is semaphores and why it is used?..

Answer / hajee mohamed

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

What is semaphores and why it is used?..

Answer / vijay

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

What is semaphores and why it is used?..

Answer / ram

It is a SYSTEM OF COMMUNICATION WHICH DEF AND DUM PEOPLE USE TO COMMUNICATE

Is This Answer Correct ?    3 Yes 7 No

What is semaphores and why it is used?..

Answer / kklk

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

What is semaphores and why it is used?..

Answer / priti

to prevent a deadlock

Is This Answer Correct ?    6 Yes 18 No

Post New Answer

More Windows AllOther Interview Questions

How do I find a folder using command prompt?

0 Answers  


What causes internal server error?

0 Answers  


What is runtimebroker exe?

0 Answers  


What are the disadvantages of circular logging?

1 Answers  


How do I restore my desktop icons from itunes?

0 Answers  


Why do we need dll files?

0 Answers  


What is the most reliable usb flash drive?

0 Answers  


What does scanning and repairing drive do?

0 Answers  


How do I fix regsvr32 exe error?

0 Answers  


Do not have permission to edit hosts file?

0 Answers  


How does exe file work?

0 Answers  


How difference windows from dos? Explain the ways of organizing windows. what is the use network neighborhood? what is the use control panel in windows xp?

0 Answers  


Categories